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.001645/0.001645, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001842/0.001842, allocations: 187.9 kB / 16.25 MB, free: 6.598 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.581/1.581, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.852/2.852, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 0.8688 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6572, allocations: 151.6 MB / 1.017 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04172/0.699, allocations: 32.32 MB / 1.048 GB, free: 2.566 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.7177, allocations: 10.17 MB / 1.058 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/0.7212, allocations: 139.2 kB / 1.058 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00999/0.7312, allocations: 3.487 MB / 1.062 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.7375, allocations: 1.704 MB / 1.064 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0061/0.7437, allocations: 1.946 MB / 1.065 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01129/0.755, allocations: 7.349 MB / 1.073 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01889/0.7739, allocations: 11.6 MB / 1.084 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005984/0.7799, allocations: 3.22 MB / 1.087 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006627/0.7866, allocations: 3.649 MB / 1.091 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001874/0.7885, allocations: 0.6445 MB / 1.091 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005/0.7935, allocations: 1.771 MB / 1.093 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004186/0.7977, allocations: 2.55 MB / 1.095 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006454/0.8042, allocations: 2.894 MB / 1.098 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01932/0.8235, allocations: 10.15 MB / 1.108 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.8236, allocations: 0 / 1.108 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8236, allocations: 0 / 1.108 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003708/0.824, allocations: 0 / 1.108 GB, free: 5.051 MB / 0.8575 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.01721/0.8412, allocations: 5.002 MB / 1.113 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.8413, allocations: 8.031 kB / 1.113 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006913/0.8482, allocations: 0.9629 MB / 1.114 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/0.8552, allocations: 2.843 MB / 1.117 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/0.8557, allocations: 353.7 kB / 1.117 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.8577, allocations: 472.1 kB / 1.118 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/0.8785, allocations: 7.667 MB / 1.125 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003068/0.8789, allocations: 27.77 kB / 1.125 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001875/0.8807, allocations: 196 kB / 1.125 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005074/0.8813, allocations: 313 kB / 1.126 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.8958, allocations: 5.706 MB / 1.131 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04844/0.9443, allocations: 35.1 MB / 1.165 GB, free: 6.719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.9477, allocations: 2.156 MB / 1.168 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.9499, allocations: 1.261 MB / 1.169 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.9501, allocations: 21.25 kB / 1.169 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/0.9502, allocations: 47.88 kB / 1.169 GB, free: 3.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 3.557e-06/0.9502, allocations: 0 / 1.169 GB, free: 3.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=136): time 0.01773/0.9679, allocations: 7.084 MB / 1.176 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.9681, allocations: 64.72 kB / 1.176 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/0.971, allocations: 1.488 MB / 1.177 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.9713, allocations: 49.7 kB / 1.177 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.973, allocations: 2.008 MB / 1.179 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007407/0.9737, allocations: 485.1 kB / 1.18 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007924/0.9745, allocations: 351.1 kB / 1.18 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9747, allocations: 305.1 kB / 1.18 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.9763, allocations: 0.9174 MB / 1.181 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.9785, allocations: 1.589 MB / 1.183 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003957/0.9825, allocations: 2.737 MB / 1.186 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-05/0.9826, allocations: 4 kB / 1.186 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007078/0.9896, allocations: 3.527 MB / 1.189 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.9897, allocations: 16 kB / 1.189 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/0.9898, allocations: 24 kB / 1.189 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.9927, allocations: 0.9077 MB / 1.19 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.9941, allocations: 351.4 kB / 1.19 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.026/1.02, allocations: 23.13 MB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.022, allocations: 103.9 kB / 1.213 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004144/1.023, allocations: 87.98 kB / 1.213 GB, free: 3.145 MB / 0.9669 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.003377/1.026, allocations: 1.606 MB / 1.215 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007182/1.027, allocations: 205.5 kB / 1.215 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006503/1.033, allocations: 2.99 MB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/1.033, allocations: 16 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-05/1.033, allocations: 12 kB / 1.218 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/1.033, allocations: 7.969 kB / 1.218 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/1.049, allocations: 7.344 MB / 1.225 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.05, allocations: 4 kB / 1.225 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009287/1.05, allocations: 175.7 kB / 1.225 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/1.053, allocations: 0.8262 MB / 1.226 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/1.053, allocations: 28 kB / 1.226 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6467/1.7, allocations: 21.95 MB / 1.247 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.7, allocations: 9.641 kB / 1.247 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006104/1.706, allocations: 3.028 MB / 1.25 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.707, allocations: 454.5 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/1.708, allocations: 31.3 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/1.709, allocations: 68.28 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/1.709, allocations: 129.7 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.933e-05/1.709, allocations: 36.52 kB / 1.251 GB, free: 205.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001598/1.711, allocations: 0.9787 MB / 1.252 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.711, allocations: 0 / 1.252 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003189/1.714, allocations: 0.7884 MB / 1.253 GB, free: 205.3 MB / 0.9981 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.000279/1.714, allocations: 151.2 kB / 1.253 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008533/1.723, allocations: 4.647 MB / 1.257 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.723, allocations: 1.094 kB / 1.257 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004013/1.727, allocations: 2.736 MB / 1.26 GB, free: 201.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/1.73, allocations: 0.7297 MB / 1.261 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/1.746, allocations: 9.161 MB / 1.27 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005154/1.751, allocations: 3.107 MB / 1.273 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002202/1.753, allocations: 454.2 kB / 1.273 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/1.754, allocations: 116.6 kB / 1.273 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.974e-06/1.754, allocations: 0 / 1.273 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06462/1.818, allocations: 36.01 MB / 1.308 GB, free: 172.8 MB / 0.9981 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=400 -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/jenkins/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