Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002443/0.002443, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.19 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3423, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03373/0.3761, allocations: 30.5 MB / 1.097 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0227/0.3988, allocations: 13.55 MB / 1.111 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004043/0.4029, allocations: 131.2 kB / 1.111 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008845/0.4119, allocations: 2.968 MB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.422, allocations: 2.472 MB / 1.116 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00662/0.4286, allocations: 1.843 MB / 1.118 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01329/0.442, allocations: 10.43 MB / 1.128 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0189/0.4609, allocations: 9.068 MB / 1.137 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007645/0.4686, allocations: 2.97 MB / 1.14 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007186/0.4759, allocations: 3.426 MB / 1.143 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002282/0.4782, allocations: 396 kB / 1.143 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004798/0.483, allocations: 1.533 MB / 1.145 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004226/0.4873, allocations: 2.171 MB / 1.147 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006599/0.4939, allocations: 2.64 MB / 1.15 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01391/0.5078, allocations: 9.297 MB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.5079, allocations: 0 / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.527e-06/0.5079, allocations: 3.938 kB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004172/0.5083, allocations: 3.938 kB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01822/0.5266, allocations: 5.132 MB / 1.164 GB, free: 7.91 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.5266, allocations: 8.031 kB / 1.164 GB, free: 7.902 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007514/0.5342, allocations: 1.002 MB / 1.165 GB, free: 6.895 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007379/0.5416, allocations: 2.892 MB / 1.168 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/0.542, allocations: 316.8 kB / 1.168 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.5439, allocations: 424 kB / 1.168 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.5621, allocations: 6.787 MB / 1.175 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/0.5624, allocations: 31.72 kB / 1.175 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.5641, allocations: 184 kB / 1.175 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009959/0.5651, allocations: 376 kB / 1.175 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.5772, allocations: 5.11 MB / 1.18 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04025/0.6175, allocations: 30.74 MB / 1.21 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.6198, allocations: 1.387 MB / 1.212 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.6217, allocations: 1.332 MB / 1.213 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.6218, allocations: 13.31 kB / 1.213 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.6219, allocations: 55.81 kB / 1.213 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 4.719e-06/0.6219, allocations: 0 / 1.213 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.08561/0.7075, allocations: 23.07 MB / 1.236 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.7076, allocations: 73.41 kB / 1.236 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.711, allocations: 2.062 MB / 1.238 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003108/0.7113, allocations: 61.7 kB / 1.238 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.7128, allocations: 2.006 MB / 1.24 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007823/0.7136, allocations: 0.6777 MB / 1.24 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009211/0.7145, allocations: 412.2 kB / 1.241 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7146, allocations: 305.1 kB / 1.241 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.717, allocations: 1.433 MB / 1.243 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002694/0.7197, allocations: 2.017 MB / 1.245 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.69/1.41, allocations: 3.682 MB / 1.248 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.41, allocations: 8.344 kB / 1.248 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01176/1.422, allocations: 5.668 MB / 1.254 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/1.422, allocations: 13.34 kB / 1.254 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.422, allocations: 17.38 kB / 1.254 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/1.428, allocations: 2.08 MB / 1.256 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.429, allocations: 376.2 kB / 1.256 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/1.463, allocations: 35.5 MB / 1.291 GB, free: 134.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/1.466, allocations: 130.6 kB / 1.291 GB, free: 134.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005171/1.467, allocations: 87.52 kB / 1.291 GB, free: 134.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.003426/1.47, allocations: 1.507 MB / 1.292 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008037/1.471, allocations: 286 kB / 1.293 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.482, allocations: 5.214 MB / 1.298 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/1.482, allocations: 22.53 kB / 1.298 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001544/1.482, allocations: 22.06 kB / 1.298 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/1.482, allocations: 7.031 kB / 1.298 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/1.504, allocations: 9.672 MB / 1.307 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/1.504, allocations: 6.469 kB / 1.307 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009756/1.505, allocations: 216.3 kB / 1.308 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00607/1.511, allocations: 1.84 MB / 1.309 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002933/1.511, allocations: 42.81 kB / 1.309 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02884/1.54, allocations: 34.52 MB / 1.343 GB, free: 96.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.54, allocations: 7.875 kB / 1.343 GB, free: 96.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008921/1.549, allocations: 4.914 MB / 1.348 GB, free: 93.13 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.551, allocations: 0.6131 MB / 1.348 GB, free: 92.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008075/1.552, allocations: 47.59 kB / 1.349 GB, free: 92.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.553, allocations: 128.5 kB / 1.349 GB, free: 92.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007722/1.554, allocations: 188.2 kB / 1.349 GB, free: 92.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/1.554, allocations: 65.19 kB / 1.349 GB, free: 92.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002629/1.557, allocations: 1.375 MB / 1.35 GB, free: 91.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.557, allocations: 0 / 1.35 GB, free: 91.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004942/1.562, allocations: 1.047 MB / 1.351 GB, free: 90.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004604/1.562, allocations: 166.8 kB / 1.351 GB, free: 90.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009528/1.572, allocations: 6.278 MB / 1.358 GB, free: 84.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.572, allocations: 0 / 1.358 GB, free: 84.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005832/1.578, allocations: 4.392 MB / 1.362 GB, free: 79.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005777/1.584, allocations: 0.9111 MB / 1.363 GB, free: 78.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.6, allocations: 10.06 MB / 1.373 GB, free: 68.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004274/1.605, allocations: 3.123 MB / 1.376 GB, free: 65.51 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002473/1.607, allocations: 0.5159 MB / 1.376 GB, free: 64.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/1.608, allocations: 147.4 kB / 1.376 GB, free: 64.84 MB / 0.9981 GB Notification: Performance of SimCode: time 1.813e-06/1.608, allocations: 0 / 1.376 GB, free: 64.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.09012/1.698, allocations: 58.23 MB / 1.433 GB, free: 7.418 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches