Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 105.2 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.462/2.462, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 68.22 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2809, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03701/0.318, allocations: 32.61 MB / 1.05 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.3353, allocations: 10.27 MB / 1.06 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.3385, allocations: 151.2 kB / 1.06 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00968/0.3482, allocations: 3.716 MB / 1.064 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.3535, allocations: 1.862 MB / 1.065 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005851/0.3594, allocations: 2.125 MB / 1.068 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008678/0.3681, allocations: 7.326 MB / 1.075 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5018/0.87, allocations: 9.476 MB / 1.084 GB, free: 18.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006493/0.8765, allocations: 3.158 MB / 1.087 GB, free: 18.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00701/0.8836, allocations: 3.485 MB / 1.09 GB, free: 18.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003132/0.8867, allocations: 0.6467 MB / 1.091 GB, free: 18.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006257/0.893, allocations: 1.766 MB / 1.093 GB, free: 18.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005367/0.8984, allocations: 2.547 MB / 1.095 GB, free: 18.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008751/0.9072, allocations: 2.898 MB / 1.098 GB, free: 17.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.9237, allocations: 10.05 MB / 1.108 GB, free: 16.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.9237, allocations: 0.6094 kB / 1.108 GB, free: 16.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9237, allocations: 1.438 kB / 1.108 GB, free: 16.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000345/0.9241, allocations: 0 / 1.108 GB, free: 16.66 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01841/0.9425, allocations: 4.999 MB / 1.113 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.9426, allocations: 10.62 kB / 1.113 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007696/0.9503, allocations: 0.9566 MB / 1.114 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007361/0.9577, allocations: 2.858 MB / 1.116 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003447/0.9581, allocations: 352.5 kB / 1.117 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002797/0.9609, allocations: 460.8 kB / 1.117 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.9852, allocations: 7.663 MB / 1.125 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003301/0.9856, allocations: 34.06 kB / 1.125 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002494/0.9881, allocations: 202.2 kB / 1.125 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000528/0.9886, allocations: 316.3 kB / 1.125 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01484/1.003, allocations: 5.71 MB / 1.131 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0452/1.049, allocations: 35.11 MB / 1.165 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/1.052, allocations: 2.151 MB / 1.167 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/1.054, allocations: 1.258 MB / 1.168 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/1.054, allocations: 19.75 kB / 1.168 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.054, allocations: 46.5 kB / 1.169 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 3.677e-06/1.054, allocations: 0 / 1.169 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=136): time 0.01641/1.07, allocations: 7.086 MB / 1.175 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.07, allocations: 64.72 kB / 1.176 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/1.073, allocations: 1.484 MB / 1.177 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003014/1.074, allocations: 53.7 kB / 1.177 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/1.075, allocations: 2.008 MB / 1.179 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007173/1.076, allocations: 492.6 kB / 1.179 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008383/1.077, allocations: 351.2 kB / 1.18 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.077, allocations: 301.1 kB / 1.18 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.078, allocations: 0.9169 MB / 1.181 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/1.08, allocations: 1.586 MB / 1.183 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/1.084, allocations: 2.74 MB / 1.185 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/1.084, allocations: 7.984 kB / 1.185 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006932/1.091, allocations: 3.534 MB / 1.189 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/1.091, allocations: 12 kB / 1.189 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/1.091, allocations: 24 kB / 1.189 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/1.094, allocations: 0.9037 MB / 1.19 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.095, allocations: 355.7 kB / 1.19 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/1.118, allocations: 23.12 MB / 1.212 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.12, allocations: 99.92 kB / 1.213 GB, free: 7.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004492/1.12, allocations: 88.08 kB / 1.213 GB, free: 6.922 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004068/1.124, allocations: 1.605 MB / 1.214 GB, free: 5.332 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006559/1.125, allocations: 209.5 kB / 1.214 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006145/1.131, allocations: 2.997 MB / 1.217 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/1.131, allocations: 12 kB / 1.217 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.155e-05/1.131, allocations: 12 kB / 1.217 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/1.131, allocations: 7.969 kB / 1.217 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/1.148, allocations: 7.34 MB / 1.225 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.148, allocations: 4 kB / 1.225 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009839/1.149, allocations: 178.8 kB / 1.225 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/1.152, allocations: 0.822 MB / 1.226 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/1.152, allocations: 28 kB / 1.226 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/1.173, allocations: 21.96 MB / 1.247 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.173, allocations: 6.625 kB / 1.247 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/1.179, allocations: 3.013 MB / 1.25 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.181, allocations: 470.1 kB / 1.25 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006016/1.181, allocations: 27.94 kB / 1.25 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.183, allocations: 76.09 kB / 1.251 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/1.183, allocations: 124.6 kB / 1.251 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/1.183, allocations: 39.98 kB / 1.251 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001916/1.185, allocations: 0.9795 MB / 1.252 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.61e-07/1.185, allocations: 0 / 1.252 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003876/1.189, allocations: 0.7852 MB / 1.252 GB, free: 12.38 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000384/1.189, allocations: 149.4 kB / 1.253 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008198/1.198, allocations: 4.648 MB / 1.257 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.198, allocations: 0 / 1.257 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.004132/1.202, allocations: 2.728 MB / 1.26 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/1.206, allocations: 0.7247 MB / 1.26 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.222, allocations: 7.851 MB / 1.268 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005042/1.227, allocations: 3.183 MB / 1.271 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/1.228, allocations: 127.4 kB / 1.271 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of SimCode: time 1.112e-06/1.228, allocations: 0 / 1.271 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of Templates: time 0.8382/2.066, allocations: 321.5 MB / 1.585 GB, free: 438.6 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches