Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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,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_9_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_9_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.00107/0.00107, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001128/0.001128, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.9 MB / 0.666 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003565, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8593, allocations: 142.4 MB / 0.9545 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03165/0.891, allocations: 28 MB / 0.9818 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.9146, allocations: 12.76 MB / 0.9943 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004065/0.9187, allocations: 123.2 kB / 0.9944 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.921, allocations: 0.6355 MB / 0.995 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008349/0.9293, allocations: 2.206 MB / 0.9972 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004505/0.9339, allocations: 1.197 MB / 0.9983 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01148/0.9453, allocations: 8.396 MB / 1.007 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/0.9605, allocations: 8.527 MB / 1.015 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006337/0.9668, allocations: 2.572 MB / 1.017 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005901/0.9727, allocations: 2.849 MB / 1.02 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008673/0.9736, allocations: 244 kB / 1.02 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/0.9766, allocations: 0.6984 MB / 1.021 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.9789, allocations: 1.905 MB / 1.023 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.9809, allocations: 0.968 MB / 1.024 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00905/0.9899, allocations: 7.737 MB / 1.031 GB, free: 448 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.99, allocations: 0 / 1.031 GB, free: 448 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.99, allocations: 4 kB / 1.031 GB, free: 444 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0004634/0.9905, allocations: 0 / 1.031 GB, free: 444 kB / 0.7794 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.01116/1.002, allocations: 4.206 MB / 1.036 GB, free: 12.15 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.002, allocations: 12.03 kB / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007276/1.009, allocations: 1.005 MB / 1.037 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0067/1.016, allocations: 2.81 MB / 1.039 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002917/1.016, allocations: 320.5 kB / 1.04 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/1.017, allocations: 419.9 kB / 1.04 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/1.032, allocations: 6.752 MB / 1.047 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/1.032, allocations: 23.78 kB / 1.047 GB, free: 452 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004606/1.033, allocations: 184 kB / 1.047 GB, free: 268 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007799/1.033, allocations: 376 kB / 1.047 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/1.044, allocations: 5.083 MB / 1.052 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03673/1.081, allocations: 30.76 MB / 1.082 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/1.083, allocations: 1.379 MB / 1.083 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002137/1.086, allocations: 1.335 MB / 1.085 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/1.086, allocations: 13.31 kB / 1.085 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.846e-05/1.086, allocations: 55.88 kB / 1.085 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=130): time 5.18e-06/1.086, allocations: 0 / 1.085 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of matching and sorting (n=199): time 0.08174/1.168, allocations: 22.78 MB / 1.107 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/1.168, allocations: 73.41 kB / 1.107 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/1.172, allocations: 2.039 MB / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004814/1.173, allocations: 65.7 kB / 1.109 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00189/1.175, allocations: 2.006 MB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001225/1.176, allocations: 0.6816 MB / 1.112 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/1.176, allocations: 44 kB / 1.112 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003673/1.176, allocations: 398.6 kB / 1.112 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002593/1.179, allocations: 1.422 MB / 1.114 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/1.182, allocations: 2.009 MB / 1.116 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/1.185, allocations: 1.724 MB / 1.117 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/1.185, allocations: 8 kB / 1.117 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01198/1.197, allocations: 5.63 MB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/1.197, allocations: 16.06 kB / 1.123 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/1.197, allocations: 16 kB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/1.204, allocations: 2.083 MB / 1.125 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/1.206, allocations: 383.4 kB / 1.125 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03992/1.246, allocations: 35.5 MB / 1.16 GB, free: 6.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.248, allocations: 127.9 kB / 1.16 GB, free: 6.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004684/1.249, allocations: 92 kB / 1.16 GB, free: 6.41 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003182/1.252, allocations: 1.512 MB / 1.162 GB, free: 4.887 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/1.253, allocations: 284.8 kB / 1.162 GB, free: 4.605 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.263, allocations: 5.188 MB / 1.167 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/1.263, allocations: 23.95 kB / 1.167 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.937e-05/1.263, allocations: 20 kB / 1.167 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/1.263, allocations: 11.97 kB / 1.167 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.283, allocations: 9.654 MB / 1.176 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/1.283, allocations: 8 kB / 1.176 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008885/1.284, allocations: 215.6 kB / 1.177 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00575/1.289, allocations: 1.846 MB / 1.178 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/1.29, allocations: 40 kB / 1.178 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03824/1.328, allocations: 34.5 MB / 1.212 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/1.328, allocations: 11.94 kB / 1.212 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.338, allocations: 4.889 MB / 1.217 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.34, allocations: 0.6225 MB / 1.218 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007611/1.341, allocations: 43.98 kB / 1.218 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.342, allocations: 139.7 kB / 1.218 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006698/1.343, allocations: 185.6 kB / 1.218 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.343, allocations: 56 kB / 1.218 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002587/1.346, allocations: 1.355 MB / 1.219 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.314e-06/1.346, allocations: 4 kB / 1.219 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004522/1.35, allocations: 1.051 MB / 1.22 GB, free: 5.824 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004109/1.351, allocations: 171 kB / 1.22 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.361, allocations: 6.249 MB / 1.227 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.361, allocations: 0 / 1.227 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006955/1.368, allocations: 4.399 MB / 1.231 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005338/1.373, allocations: 0.9176 MB / 1.232 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.392, allocations: 9.606 MB / 1.241 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004506/1.396, allocations: 3.117 MB / 1.244 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002133/1.398, allocations: 0.5276 MB / 1.245 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/1.399, allocations: 147.4 kB / 1.245 GB, free: 12.1 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/1.399, allocations: 0 / 1.245 GB, free: 12.1 MB / 1.014 GB Notification: Performance of Templates: time 0.6102/2.009, allocations: 55.57 MB / 1.299 GB, free: 253.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches