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.001358/0.001358, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001371/0.001371, allocations: 187 kB / 17.34 MB, free: 5.719 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.09 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.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 59.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8255, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005565/0.8311, allocations: 4.281 MB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003764/0.8349, allocations: 2.372 MB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/0.8354, allocations: 17.31 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.8365, allocations: 374.9 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.8377, allocations: 373.7 kB / 1.096 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009548/0.8386, allocations: 316.7 kB / 1.096 GB, free: 360 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.8397, allocations: 0.6797 MB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.8402, allocations: 267.8 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.8407, allocations: 257.9 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.8412, allocations: 267.8 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.8413, allocations: 29.28 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009913/0.8423, allocations: 432.9 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.8425, allocations: 141 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.8427, allocations: 241.7 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.8439, allocations: 0.7351 MB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8439, allocations: 0 / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.566e-06/0.8439, allocations: 0.5625 kB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.844, allocations: 1.062 kB / 1.099 GB, free: 15.08 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.001383/0.8453, allocations: 0.7806 MB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8454, allocations: 14.42 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.847, allocations: 182.8 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.8477, allocations: 438.1 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.8478, allocations: 27.12 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.8478, allocations: 38.48 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.8489, allocations: 0.6531 MB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.849, allocations: 13.94 kB / 1.101 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.849, allocations: 13.91 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.8491, allocations: 53.7 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.85, allocations: 0.4893 MB / 1.102 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.8537, allocations: 3.787 MB / 1.105 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.8556, allocations: 0.6257 MB / 1.106 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.8558, allocations: 184.7 kB / 1.106 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.8559, allocations: 6.688 kB / 1.106 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.8559, allocations: 37.84 kB / 1.106 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.8559, allocations: 0 / 1.106 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002456/0.8584, allocations: 1.274 MB / 1.107 GB, free: 9 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.8585, allocations: 107.4 kB / 1.108 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.8589, allocations: 399.2 kB / 1.108 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.859, allocations: 30.8 kB / 1.108 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.8592, allocations: 284.9 kB / 1.108 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.8593, allocations: 115.1 kB / 1.108 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.8594, allocations: 104.5 kB / 1.108 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.8596, allocations: 354.6 kB / 1.109 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.8599, allocations: 176 kB / 1.109 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.8603, allocations: 378 kB / 1.109 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.861, allocations: 0.591 MB / 1.11 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.861, allocations: 6.094 kB / 1.11 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001167/0.8622, allocations: 0.6688 MB / 1.111 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.8623, allocations: 9.797 kB / 1.111 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.8623, allocations: 10.34 kB / 1.111 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.8626, allocations: 106 kB / 1.111 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.8631, allocations: 113.7 kB / 1.111 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.8665, allocations: 4.344 MB / 1.115 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.867, allocations: 29.17 kB / 1.115 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.8671, allocations: 29.31 kB / 1.115 GB, free: 2.453 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.0002961/0.8674, allocations: 196.5 kB / 1.115 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.8675, allocations: 47.17 kB / 1.115 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.8685, allocations: 0.5134 MB / 1.116 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.8685, allocations: 7.938 kB / 1.116 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8685, allocations: 3.547 kB / 1.116 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.8685, allocations: 1.594 kB / 1.116 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.8705, allocations: 1.285 MB / 1.117 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.8706, allocations: 2.625 kB / 1.117 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.8709, allocations: 60.02 kB / 1.117 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.8712, allocations: 101.9 kB / 1.117 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.8712, allocations: 9.578 kB / 1.117 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.8746, allocations: 4.333 MB / 1.122 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.8746, allocations: 8.969 kB / 1.122 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.8756, allocations: 0.7794 MB / 1.122 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.8759, allocations: 152.1 kB / 1.122 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.8759, allocations: 10.27 kB / 1.122 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.8762, allocations: 21.11 kB / 1.122 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.8763, allocations: 34.86 kB / 1.122 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.8764, allocations: 19.23 kB / 1.123 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003335/0.8767, allocations: 276.9 kB / 1.123 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8767, allocations: 0 / 1.123 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007796/0.8775, allocations: 124.5 kB / 1.123 GB, free: 12.02 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 0.0001664/0.8777, allocations: 109.6 kB / 1.123 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.8791, allocations: 0.808 MB / 1.124 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.8791, allocations: 5.625 kB / 1.124 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007643/0.8798, allocations: 0.5395 MB / 1.124 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.8808, allocations: 139.8 kB / 1.124 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.8824, allocations: 0.9399 MB / 1.125 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.8829, allocations: 0.8682 MB / 1.126 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.8831, allocations: 44.73 kB / 1.126 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/0.8831, allocations: 0 / 1.126 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of Templates: time 0.0178/0.9009, allocations: 11.13 MB / 1.137 GB, free: 8.82 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