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.009611/0.009619, allocations: 95.48 kB / 15.73 MB, free: 6.484 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.001566/0.001566, allocations: 191.1 kB / 16.67 MB, free: 6.391 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.678/2.678, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 62.44 kB / 0.9508 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3776, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0164/0.3941, allocations: 11.09 MB / 1.099 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.4042, allocations: 5.777 MB / 1.104 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.4059, allocations: 51.62 kB / 1.104 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004684/0.4107, allocations: 1.732 MB / 1.106 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.4146, allocations: 1.186 MB / 1.107 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.4173, allocations: 0.8019 MB / 1.108 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003919/0.4212, allocations: 2.142 MB / 1.11 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.4236, allocations: 1.314 MB / 1.111 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.4255, allocations: 0.8562 MB / 1.112 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.4275, allocations: 0.9104 MB / 1.113 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006083/0.4281, allocations: 112 kB / 1.113 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.4313, allocations: 1.173 MB / 1.114 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000888/0.4322, allocations: 0.5336 MB / 1.115 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.4336, allocations: 0.7849 MB / 1.116 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004729/0.4383, allocations: 2.432 MB / 1.118 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4384, allocations: 0 / 1.118 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.509e-06/0.4384, allocations: 0 / 1.118 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.958e-05/0.4385, allocations: 3.938 kB / 1.118 GB, free: 2.492 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.004937/0.4434, allocations: 1.923 MB / 1.12 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4435, allocations: 8.031 kB / 1.12 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/0.4482, allocations: 0.6825 MB / 1.121 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/0.4505, allocations: 1.009 MB / 1.122 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.4506, allocations: 98.91 kB / 1.122 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.4509, allocations: 124.3 kB / 1.122 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/0.4549, allocations: 2.21 MB / 1.124 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.455, allocations: 19.81 kB / 1.124 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.4552, allocations: 59.98 kB / 1.124 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/0.4554, allocations: 162.3 kB / 1.124 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003345/0.4588, allocations: 1.863 MB / 1.126 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.4727, allocations: 12.45 MB / 1.138 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/0.4771, allocations: 1.96 MB / 1.14 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.478, allocations: 0.6089 MB / 1.141 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.4782, allocations: 102 kB / 1.141 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.4782, allocations: 47.55 kB / 1.141 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=103): time 3.146e-06/0.4782, allocations: 0 / 1.141 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.006638/0.4849, allocations: 3.736 MB / 1.145 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.485, allocations: 60.41 kB / 1.145 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4863, allocations: 0.9206 MB / 1.145 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.4864, allocations: 45.7 kB / 1.146 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.4869, allocations: 0.7455 MB / 1.146 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.4873, allocations: 412.5 kB / 1.147 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.4877, allocations: 287.4 kB / 1.147 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.4878, allocations: 301.1 kB / 1.147 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009242/0.4887, allocations: 0.6129 MB / 1.148 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.49, allocations: 1.106 MB / 1.149 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.4924, allocations: 1.832 MB / 1.151 GB, free: 15.15 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.4924, allocations: 7.938 kB / 1.151 GB, free: 15.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004048/0.4965, allocations: 2.112 MB / 1.153 GB, free: 13 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.4965, allocations: 13.56 kB / 1.153 GB, free: 12.99 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.4966, allocations: 16 kB / 1.153 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.4976, allocations: 255.2 kB / 1.153 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.499, allocations: 375.4 kB / 1.153 GB, free: 12.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/0.5106, allocations: 11.59 MB / 1.165 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.5123, allocations: 119.9 kB / 1.165 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003456/0.5127, allocations: 75.92 kB / 1.165 GB, free: 15.43 MB / 0.9356 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.001031/0.5137, allocations: 417.1 kB / 1.165 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.5141, allocations: 135.2 kB / 1.165 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.5172, allocations: 1.677 MB / 1.167 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.5173, allocations: 12 kB / 1.167 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.5173, allocations: 4 kB / 1.167 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.5173, allocations: 7.969 kB / 1.167 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/0.5232, allocations: 3.292 MB / 1.17 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5233, allocations: 8 kB / 1.17 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000879/0.5242, allocations: 215.6 kB / 1.17 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007608/0.5249, allocations: 250.6 kB / 1.171 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/0.525, allocations: 27.94 kB / 1.171 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009213/0.5343, allocations: 11.58 MB / 1.182 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.5343, allocations: 7.938 kB / 1.182 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.5372, allocations: 1.804 MB / 1.184 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007386/0.5379, allocations: 312.1 kB / 1.184 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.5382, allocations: 35.89 kB / 1.184 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008242/0.539, allocations: 87.86 kB / 1.184 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.5392, allocations: 104.7 kB / 1.184 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/0.5393, allocations: 28 kB / 1.184 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009042/0.5402, allocations: 0.6254 MB / 1.185 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5402, allocations: 0 / 1.185 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001794/0.542, allocations: 392 kB / 1.185 GB, free: 8.996 MB / 0.9512 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.0002934/0.5423, allocations: 143 kB / 1.185 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004308/0.5466, allocations: 2.508 MB / 1.188 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5467, allocations: 0 / 1.188 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.5489, allocations: 1.626 MB / 1.19 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.5511, allocations: 355.9 kB / 1.19 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.5565, allocations: 2.786 MB / 1.193 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.558, allocations: 1.327 MB / 1.194 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001191/0.5592, allocations: 363.3 kB / 1.194 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.5595, allocations: 103.4 kB / 1.194 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of SimCode: time 1.272e-06/0.5595, allocations: 0 / 1.194 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of Templates: time 0.03412/0.5937, allocations: 17.35 MB / 1.211 GB, free: 14.27 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/jenkins/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