Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001026/0.001026, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 67.91 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01491/1.121, allocations: 11.84 MB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01034/1.131, allocations: 5.494 MB / 1.106 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/1.132, allocations: 36.72 kB / 1.106 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003302/1.136, allocations: 1.052 MB / 1.107 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/1.138, allocations: 0.6512 MB / 1.107 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002846/1.141, allocations: 0.9222 MB / 1.108 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003702/1.145, allocations: 2.464 MB / 1.111 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004549/1.149, allocations: 3.515 MB / 1.114 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/1.152, allocations: 1.125 MB / 1.115 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/1.154, allocations: 1.213 MB / 1.116 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004658/1.155, allocations: 236.4 kB / 1.117 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/1.156, allocations: 0.5185 MB / 1.117 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/1.158, allocations: 0.9065 MB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001618/1.159, allocations: 0.9936 MB / 1.119 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005513/1.165, allocations: 3.564 MB / 1.122 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.165, allocations: 0 / 1.122 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.144e-06/1.165, allocations: 0 / 1.122 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.841e-05/1.165, allocations: 4 kB / 1.122 GB, free: 2.641 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005646/1.171, allocations: 1.938 MB / 1.124 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.171, allocations: 9.547 kB / 1.124 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/1.174, allocations: 492.9 kB / 1.125 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/1.177, allocations: 1.133 MB / 1.126 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/1.177, allocations: 113.3 kB / 1.126 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/1.177, allocations: 155.9 kB / 1.126 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005689/1.183, allocations: 2.753 MB / 1.129 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/1.183, allocations: 6.891 kB / 1.129 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/1.183, allocations: 58.12 kB / 1.129 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003488/1.183, allocations: 149 kB / 1.129 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00487/1.188, allocations: 2.308 MB / 1.131 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/1.203, allocations: 10.38 MB / 1.141 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/1.204, allocations: 0.6117 MB / 1.142 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008113/1.205, allocations: 392.8 kB / 1.142 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/1.205, allocations: 100.7 kB / 1.142 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.205, allocations: 41.5 kB / 1.142 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=36): time 2.705e-06/1.205, allocations: 0 / 1.142 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of matching and sorting (n=52): time 0.02336/1.228, allocations: 5.832 MB / 1.148 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.229, allocations: 56.78 kB / 1.148 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/1.23, allocations: 0.8839 MB / 1.149 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/1.23, allocations: 37.27 kB / 1.149 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/1.231, allocations: 0.7537 MB / 1.15 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/1.231, allocations: 190.8 kB / 1.15 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/1.231, allocations: 197.3 kB / 1.15 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1.231, allocations: 386.1 kB / 1.151 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.233, allocations: 0.6549 MB / 1.151 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/1.234, allocations: 1.003 MB / 1.152 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/1.237, allocations: 1.675 MB / 1.154 GB, free: 88 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.237, allocations: 3.844 kB / 1.154 GB, free: 88 kB / 0.8887 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009385/1.246, allocations: 3.121 MB / 1.157 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/1.246, allocations: 10.03 kB / 1.157 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/1.246, allocations: 20.56 kB / 1.157 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007496/1.254, allocations: 1.649 MB / 1.159 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.255, allocations: 232.3 kB / 1.159 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/1.271, allocations: 10.59 MB / 1.169 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.273, allocations: 170.6 kB / 1.169 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/1.273, allocations: 42.83 kB / 1.169 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002623/1.276, allocations: 1.313 MB / 1.171 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001509/1.277, allocations: 0.9786 MB / 1.172 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002635/1.28, allocations: 1.619 MB / 1.173 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.54e-05/1.28, allocations: 7.75 kB / 1.173 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007815/1.288, allocations: 2.655 MB / 1.176 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.288, allocations: 11 kB / 1.176 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.288, allocations: 10.88 kB / 1.176 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004835/1.292, allocations: 1.064 MB / 1.177 GB, free: 128 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.294, allocations: 254.1 kB / 1.177 GB, free: 48 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008328/1.302, allocations: 5.747 MB / 1.183 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.304, allocations: 159.8 kB / 1.183 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/1.304, allocations: 47.98 kB / 1.183 GB, free: 10.98 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004119/1.304, allocations: 240 kB / 1.183 GB, free: 10.74 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/1.305, allocations: 75.12 kB / 1.183 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007824/1.312, allocations: 2.574 MB / 1.186 GB, free: 8.066 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/1.313, allocations: 3.984 kB / 1.186 GB, free: 8.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.313, allocations: 0 / 1.186 GB, free: 8.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/1.313, allocations: 264.1 kB / 1.186 GB, free: 7.785 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/1.314, allocations: 19.92 kB / 1.186 GB, free: 7.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.315, allocations: 111.8 kB / 1.186 GB, free: 7.656 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/1.315, allocations: 48.36 kB / 1.186 GB, free: 7.609 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005594/1.321, allocations: 2.099 MB / 1.188 GB, free: 5.492 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002704/1.323, allocations: 1.786 MB / 1.19 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008652/1.324, allocations: 0.5498 MB / 1.19 GB, free: 3.133 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001303/1.325, allocations: 0.6473 MB / 1.191 GB, free: 2.492 MB / 0.92 GB Notification: Performance of Backend: time 8.51e-07/1.325, allocations: 0 / 1.191 GB, free: 2.492 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007231/1.333, allocations: 2.907 MB / 1.194 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of SimCode: time 0.007321/1.34, allocations: 3.29 MB / 1.197 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of Templates: time 0.04419/1.384, allocations: 29.46 MB / 1.226 GB, free: 14.87 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches