Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 107.5 kB / 16.42 MB, free: 6.441 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.001458/0.001458, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.14 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.284/2.284, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8618/0.8632, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005288/0.8685, allocations: 4.292 MB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.8723, allocations: 2.364 MB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.8726, allocations: 17.28 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.8737, allocations: 362.5 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009981/0.8748, allocations: 390.5 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.8756, allocations: 320.1 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000873/0.8765, allocations: 0.6854 MB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.877, allocations: 260.2 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004487/0.8774, allocations: 266.1 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.878, allocations: 267.9 kB / 1.098 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.419e-05/0.8782, allocations: 28.34 kB / 1.098 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.8796, allocations: 437.5 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.8799, allocations: 140.7 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003783/0.8803, allocations: 236.5 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.8818, allocations: 0.7368 MB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.8818, allocations: 0 / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8818, allocations: 0 / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.8818, allocations: 5.094 kB / 1.099 GB, free: 15.36 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001613/0.8834, allocations: 0.7767 MB / 1.1 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.8835, allocations: 13.23 kB / 1.1 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.8851, allocations: 188.2 kB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/0.8858, allocations: 437.5 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.8859, allocations: 30.58 kB / 1.101 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.886, allocations: 30.89 kB / 1.101 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.8871, allocations: 0.6565 MB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.8871, allocations: 10.34 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.8872, allocations: 21.67 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.6e-05/0.8873, allocations: 50.17 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.8881, allocations: 0.4931 MB / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.892, allocations: 3.779 MB / 1.105 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.8939, allocations: 0.6304 MB / 1.106 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.8942, allocations: 179.9 kB / 1.106 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.8942, allocations: 6.719 kB / 1.106 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.8943, allocations: 33.33 kB / 1.106 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 3.357e-06/0.8943, allocations: 5.312 kB / 1.106 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002482/0.8968, allocations: 1.273 MB / 1.108 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.8968, allocations: 110.8 kB / 1.108 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.8973, allocations: 399 kB / 1.108 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.8974, allocations: 31.11 kB / 1.108 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.8976, allocations: 288.1 kB / 1.108 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.8977, allocations: 120.9 kB / 1.108 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.8979, allocations: 95.89 kB / 1.108 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.898, allocations: 354.3 kB / 1.109 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.8983, allocations: 174.7 kB / 1.109 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.8988, allocations: 381.9 kB / 1.109 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007447/0.8995, allocations: 0.5916 MB / 1.11 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.8995, allocations: 2.938 kB / 1.11 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001138/0.9007, allocations: 0.6722 MB / 1.111 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.9007, allocations: 7.844 kB / 1.111 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.9007, allocations: 6.656 kB / 1.111 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003623/0.9011, allocations: 103.8 kB / 1.111 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.9015, allocations: 121.4 kB / 1.111 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.9052, allocations: 4.34 MB / 1.115 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.9056, allocations: 28.75 kB / 1.115 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.9057, allocations: 27.08 kB / 1.115 GB, free: 2.73 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000293/0.906, allocations: 199.5 kB / 1.115 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.9061, allocations: 48.09 kB / 1.115 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000968/0.9071, allocations: 0.5101 MB / 1.116 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.9071, allocations: 1.922 kB / 1.116 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9071, allocations: 1.188 kB / 1.116 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.9074, allocations: 149.5 kB / 1.116 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.9074, allocations: 7.422 kB / 1.116 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.9078, allocations: 24.28 kB / 1.116 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.9079, allocations: 29.83 kB / 1.116 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001224/0.9091, allocations: 0.7262 MB / 1.117 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001176/0.9103, allocations: 0.8666 MB / 1.118 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003093/0.9106, allocations: 170.2 kB / 1.118 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003544/0.911, allocations: 281.7 kB / 1.118 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of Backend: time 3.91e-07/0.911, allocations: 3.938 kB / 1.118 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.9135, allocations: 0.962 MB / 1.119 GB, free: 496 kB / 0.8731 GB Notification: Performance of SimCode: time 0.002269/0.9158, allocations: 1.316 MB / 1.12 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of Templates: time 0.02051/0.9363, allocations: 8.33 MB / 1.128 GB, free: 14.84 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches