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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001166/0.001166, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001137/0.001137, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 69.06 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3192, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01459/0.3338, allocations: 11.1 MB / 0.962 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3444, allocations: 5.8 MB / 0.9676 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.3465, allocations: 47.69 kB / 0.9677 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005708/0.3523, allocations: 1.719 MB / 0.9693 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.3574, allocations: 1.143 MB / 0.9705 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.3609, allocations: 0.8219 MB / 0.9713 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004641/0.3656, allocations: 2.127 MB / 0.9733 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.3686, allocations: 1.31 MB / 0.9746 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.3706, allocations: 0.8367 MB / 0.9754 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.3727, allocations: 0.9182 MB / 0.9763 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.3732, allocations: 116 kB / 0.9764 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.3766, allocations: 1.177 MB / 0.9776 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0009353/0.3775, allocations: 0.5259 MB / 0.9781 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.379, allocations: 0.7849 MB / 0.9789 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.3841, allocations: 2.422 MB / 0.9812 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.3841, allocations: 4 kB / 0.9812 GB, free: 9.094 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3842, allocations: 4 kB / 0.9813 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.997e-05/0.3842, allocations: 0 / 0.9813 GB, free: 9.09 MB / 0.7637 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.005572/0.3898, allocations: 1.867 MB / 0.9831 GB, free: 7.164 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/0.3899, allocations: 8.031 kB / 0.9831 GB, free: 7.156 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007487/0.3974, allocations: 0.6699 MB / 0.9837 GB, free: 6.484 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.4005, allocations: 1.012 MB / 0.9847 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.4007, allocations: 90.89 kB / 0.9848 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.4011, allocations: 124.4 kB / 0.9849 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005238/0.4063, allocations: 2.21 MB / 0.9871 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/0.4064, allocations: 15.78 kB / 0.9871 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.4066, allocations: 59.97 kB / 0.9872 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003455/0.407, allocations: 162.3 kB / 0.9873 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.4117, allocations: 1.871 MB / 0.9891 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02265/0.4344, allocations: 12.43 MB / 1.001 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007194/0.4416, allocations: 1.968 MB / 1.003 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.443, allocations: 0.605 MB / 1.004 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.4433, allocations: 106.1 kB / 1.004 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.4434, allocations: 47.56 kB / 1.004 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=103): time 4.047e-06/0.4434, allocations: 3.938 kB / 1.004 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.008895/0.4523, allocations: 3.702 MB / 1.008 GB, free: 12.65 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.4524, allocations: 64.41 kB / 1.008 GB, free: 12.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.4543, allocations: 0.9165 MB / 1.009 GB, free: 11.64 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.4546, allocations: 45.7 kB / 1.009 GB, free: 11.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000817/0.4554, allocations: 0.7315 MB / 1.009 GB, free: 10.85 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.4559, allocations: 386.4 kB / 1.01 GB, free: 10.46 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006575/0.4566, allocations: 287.2 kB / 1.01 GB, free: 10.18 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4568, allocations: 305.1 kB / 1.01 GB, free: 9.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.4582, allocations: 0.6089 MB / 1.011 GB, free: 9.266 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.4596, allocations: 1.106 MB / 1.012 GB, free: 7.945 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.4621, allocations: 1.832 MB / 1.014 GB, free: 5.898 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.4622, allocations: 4 kB / 1.014 GB, free: 5.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003378/0.4656, allocations: 2.111 MB / 1.016 GB, free: 3.746 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.4656, allocations: 12 kB / 1.016 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.4656, allocations: 16 kB / 1.016 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008357/0.4665, allocations: 259 kB / 1.016 GB, free: 3.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.4677, allocations: 375.4 kB / 1.016 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009068/0.4768, allocations: 11.58 MB / 1.028 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.4782, allocations: 127.8 kB / 1.028 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.4784, allocations: 75.92 kB / 1.028 GB, free: 6.172 MB / 0.8106 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.0009148/0.4793, allocations: 404 kB / 1.028 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.4797, allocations: 130.4 kB / 1.028 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.4829, allocations: 1.677 MB / 1.03 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.483, allocations: 12 kB / 1.03 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.483, allocations: 4 kB / 1.03 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.483, allocations: 3.984 kB / 1.03 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005834/0.4888, allocations: 3.296 MB / 1.033 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4889, allocations: 4.094 kB / 1.033 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.4897, allocations: 235.6 kB / 1.033 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007437/0.4905, allocations: 238.6 kB / 1.034 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.202e-05/0.4906, allocations: 35.92 kB / 1.034 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008665/0.4993, allocations: 11.55 MB / 1.045 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.4993, allocations: 4 kB / 1.045 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.5024, allocations: 1.799 MB / 1.047 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/0.5032, allocations: 303.5 kB / 1.047 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/0.5034, allocations: 28 kB / 1.047 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.5042, allocations: 91.88 kB / 1.047 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.5044, allocations: 108.6 kB / 1.047 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.5045, allocations: 36 kB / 1.047 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009158/0.5054, allocations: 0.6177 MB / 1.048 GB, free: 168 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5055, allocations: 0 / 1.048 GB, free: 168 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001571/0.507, allocations: 396 kB / 1.048 GB, free: 15.77 MB / 0.8419 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.0002674/0.5073, allocations: 143 kB / 1.048 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003588/0.5109, allocations: 2.508 MB / 1.051 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.5109, allocations: 0 / 1.051 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.513, allocations: 1.629 MB / 1.052 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.5147, allocations: 360 kB / 1.053 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.5192, allocations: 2.748 MB / 1.056 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008992/0.5201, allocations: 1.331 MB / 1.057 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008778/0.521, allocations: 351.3 kB / 1.057 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.5213, allocations: 99.41 kB / 1.057 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of SimCode: time 1.072e-06/0.5213, allocations: 4 kB / 1.057 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.02875/0.55, allocations: 17.06 MB / 1.074 GB, free: 5.379 MB / 0.8575 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 -s cvode -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