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.006864/0.006864, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001339/0.001339, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.541/2.541, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.08 kB / 0.9508 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3833, allocations: 140.4 MB / 1.088 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01326/0.3966, allocations: 11.09 MB / 1.099 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.4067, allocations: 5.797 MB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.4083, allocations: 47.69 kB / 1.104 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004393/0.4128, allocations: 1.733 MB / 1.106 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.4168, allocations: 1.178 MB / 1.107 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.4195, allocations: 0.8059 MB / 1.108 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003517/0.423, allocations: 2.135 MB / 1.11 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.4248, allocations: 1.31 MB / 1.111 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.4266, allocations: 0.8562 MB / 1.112 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.4277, allocations: 0.9104 MB / 1.113 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.4279, allocations: 116 kB / 1.113 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.4302, allocations: 1.177 MB / 1.114 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005196/0.4307, allocations: 0.5298 MB / 1.115 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008215/0.4315, allocations: 0.781 MB / 1.116 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.4346, allocations: 2.422 MB / 1.118 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4346, allocations: 4 kB / 1.118 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4347, allocations: 0 / 1.118 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.4347, allocations: 3.938 kB / 1.118 GB, free: 2.629 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.002837/0.4375, allocations: 1.871 MB / 1.12 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4376, allocations: 8.031 kB / 1.12 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.4419, allocations: 0.666 MB / 1.121 GB, free: 24 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.4438, allocations: 1.008 MB / 1.122 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.4439, allocations: 98.89 kB / 1.122 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.4441, allocations: 128.3 kB / 1.122 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.4473, allocations: 2.21 MB / 1.124 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.4473, allocations: 11.94 kB / 1.124 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.4475, allocations: 59.97 kB / 1.124 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.4477, allocations: 162.3 kB / 1.124 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.4504, allocations: 1.867 MB / 1.126 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.4619, allocations: 12.44 MB / 1.138 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.4659, allocations: 1.968 MB / 1.14 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.4667, allocations: 0.6089 MB / 1.141 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.4669, allocations: 102.1 kB / 1.141 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.467, allocations: 47.5 kB / 1.141 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=103): time 3.326e-06/0.467, allocations: 4 kB / 1.141 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.006084/0.4731, allocations: 3.71 MB / 1.144 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.4731, allocations: 64.41 kB / 1.144 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.4743, allocations: 0.9204 MB / 1.145 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.4744, allocations: 41.7 kB / 1.145 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/0.4749, allocations: 0.7314 MB / 1.146 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.4753, allocations: 386.5 kB / 1.146 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.4758, allocations: 287.2 kB / 1.147 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4759, allocations: 305.1 kB / 1.147 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009222/0.4768, allocations: 0.6168 MB / 1.148 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.4783, allocations: 1.098 MB / 1.149 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.4806, allocations: 1.832 MB / 1.151 GB, free: 15.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4807, allocations: 4 kB / 1.151 GB, free: 15.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003771/0.4844, allocations: 2.103 MB / 1.153 GB, free: 13.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.4845, allocations: 13 kB / 1.153 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/0.4846, allocations: 16 kB / 1.153 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009876/0.4855, allocations: 262.6 kB / 1.153 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.4867, allocations: 375.4 kB / 1.153 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.4973, allocations: 11.58 MB / 1.165 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.4991, allocations: 123.8 kB / 1.165 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.4993, allocations: 80.08 kB / 1.165 GB, free: 15.71 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.0008223/0.5001, allocations: 403.3 kB / 1.165 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.5003, allocations: 130.5 kB / 1.165 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.5032, allocations: 1.677 MB / 1.167 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/0.5033, allocations: 12 kB / 1.167 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.5033, allocations: 7.938 kB / 1.167 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5033, allocations: 3.984 kB / 1.167 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/0.5087, allocations: 3.291 MB / 1.17 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5087, allocations: 8 kB / 1.17 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.5095, allocations: 219.6 kB / 1.17 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006971/0.5102, allocations: 247.1 kB / 1.171 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.5103, allocations: 27.94 kB / 1.171 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.521, allocations: 11.56 MB / 1.182 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.5211, allocations: 4 kB / 1.182 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.5245, allocations: 1.8 MB / 1.184 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/0.5252, allocations: 311.4 kB / 1.184 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.5253, allocations: 31.84 kB / 1.184 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.526, allocations: 99.88 kB / 1.184 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.5262, allocations: 96.64 kB / 1.184 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.841e-05/0.5263, allocations: 39.98 kB / 1.184 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009026/0.5272, allocations: 0.6177 MB / 1.185 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5272, allocations: 0 / 1.185 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001468/0.5287, allocations: 392 kB / 1.185 GB, free: 9.297 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.0002478/0.5289, allocations: 148 kB / 1.185 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003897/0.5329, allocations: 2.504 MB / 1.188 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5329, allocations: 0 / 1.188 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.535, allocations: 1.63 MB / 1.189 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.5367, allocations: 358.2 kB / 1.19 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.5412, allocations: 2.739 MB / 1.192 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.5423, allocations: 1.327 MB / 1.194 GB, free: 276 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009787/0.5433, allocations: 355.3 kB / 1.194 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.5436, allocations: 95.42 kB / 1.194 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of SimCode: time 9.22e-07/0.5436, allocations: 7.938 kB / 1.194 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of Templates: time 0.03329/0.5769, allocations: 17.35 MB / 1.211 GB, free: 14.63 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