Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.001447/0.001447, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 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.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 67.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9084, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0136/0.922, allocations: 11.09 MB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.9332, allocations: 5.776 MB / 1.105 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.935, allocations: 58.72 kB / 1.105 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005191/0.9403, allocations: 1.723 MB / 1.107 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.945, allocations: 1.181 MB / 1.108 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003055/0.9481, allocations: 0.8142 MB / 1.109 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00406/0.9522, allocations: 2.128 MB / 1.111 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.9548, allocations: 1.317 MB / 1.112 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.9569, allocations: 0.8574 MB / 1.113 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.9592, allocations: 0.9108 MB / 1.114 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005348/0.9597, allocations: 113.5 kB / 1.114 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.9634, allocations: 1.171 MB / 1.115 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.9647, allocations: 0.53 MB / 1.116 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.9668, allocations: 0.7902 MB / 1.116 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005925/0.9728, allocations: 2.42 MB / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9728, allocations: 2.172 kB / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9728, allocations: 0 / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.064e-05/0.9729, allocations: 0 / 1.119 GB, free: 3.617 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004161/0.9771, allocations: 1.871 MB / 1.121 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.9771, allocations: 8.812 kB / 1.121 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.9821, allocations: 0.6679 MB / 1.121 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.9845, allocations: 1.009 MB / 1.122 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.833e-05/0.9846, allocations: 93.14 kB / 1.122 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.9849, allocations: 131.1 kB / 1.122 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004004/0.9889, allocations: 2.205 MB / 1.125 GB, free: 388 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/0.989, allocations: 18.31 kB / 1.125 GB, free: 376 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.9891, allocations: 60.98 kB / 1.125 GB, free: 332 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002625/0.9894, allocations: 162.1 kB / 1.125 GB, free: 312 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/0.9927, allocations: 1.87 MB / 1.127 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/1.007, allocations: 12.43 MB / 1.139 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004611/1.012, allocations: 1.98 MB / 1.141 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009682/1.013, allocations: 0.6045 MB / 1.141 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/1.013, allocations: 101.1 kB / 1.141 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/1.013, allocations: 45.11 kB / 1.141 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=103): time 3.125e-06/1.013, allocations: 0 / 1.141 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=110): time 0.006745/1.02, allocations: 3.711 MB / 1.145 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.02, allocations: 62.38 kB / 1.145 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/1.021, allocations: 0.921 MB / 1.146 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.009e-05/1.021, allocations: 45.48 kB / 1.146 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/1.022, allocations: 0.7302 MB / 1.147 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/1.022, allocations: 384 kB / 1.147 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/1.022, allocations: 285.8 kB / 1.147 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.023, allocations: 301.1 kB / 1.148 GB, free: 484 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009908/1.024, allocations: 0.6128 MB / 1.148 GB, free: 276 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/1.025, allocations: 1.115 MB / 1.149 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/1.027, allocations: 1.834 MB / 1.151 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.027, allocations: 4.438 kB / 1.151 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00401/1.031, allocations: 2.099 MB / 1.153 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/1.031, allocations: 12.38 kB / 1.153 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/1.032, allocations: 15.66 kB / 1.153 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009037/1.032, allocations: 255.6 kB / 1.154 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.034, allocations: 373.9 kB / 1.154 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00912/1.043, allocations: 11.59 MB / 1.165 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.045, allocations: 131.2 kB / 1.165 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/1.045, allocations: 74.8 kB / 1.165 GB, free: 1.766 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0008174/1.046, allocations: 408.8 kB / 1.166 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/1.046, allocations: 127.6 kB / 1.166 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/1.049, allocations: 1.679 MB / 1.168 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.049, allocations: 10.53 kB / 1.168 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.049, allocations: 6.406 kB / 1.168 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.049, allocations: 5.328 kB / 1.168 GB, free: 448 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/1.054, allocations: 3.286 MB / 1.171 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.054, allocations: 8.641 kB / 1.171 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/1.055, allocations: 226.9 kB / 1.171 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006908/1.056, allocations: 242.8 kB / 1.171 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/1.056, allocations: 31.31 kB / 1.171 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.067, allocations: 11.57 MB / 1.183 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.574e-05/1.067, allocations: 13.48 kB / 1.183 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/1.071, allocations: 1.795 MB / 1.184 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007081/1.071, allocations: 299.7 kB / 1.185 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.071, allocations: 31.62 kB / 1.185 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/1.072, allocations: 90.25 kB / 1.185 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/1.072, allocations: 97.61 kB / 1.185 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/1.073, allocations: 37.89 kB / 1.185 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008809/1.073, allocations: 0.6203 MB / 1.185 GB, free: 476 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/1.073, allocations: 4 kB / 1.185 GB, free: 472 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.001687/1.075, allocations: 393.6 kB / 1.186 GB, free: 428 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002492/1.075, allocations: 139 kB / 1.186 GB, free: 308 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00382/1.079, allocations: 2.506 MB / 1.188 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.079, allocations: 1.094 kB / 1.188 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/1.081, allocations: 1.628 MB / 1.19 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/1.083, allocations: 362.3 kB / 1.19 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/1.088, allocations: 2.846 MB / 1.193 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.089, allocations: 1.327 MB / 1.194 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/1.09, allocations: 115.4 kB / 1.195 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of SimCode: time 8.52e-07/1.09, allocations: 0 / 1.195 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of Templates: time 0.06363/1.154, allocations: 59.31 MB / 1.252 GB, free: 1.434 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches