Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001559/0.001558, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001517/0.001517, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.873/2.873, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 62.5 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3718, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01322/0.3851, allocations: 11.05 MB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.3968, allocations: 5.859 MB / 1.069 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.3991, allocations: 43.69 kB / 1.069 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.4038, allocations: 1.629 MB / 1.07 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003972/0.4078, allocations: 1.066 MB / 1.071 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.4102, allocations: 0.7358 MB / 1.072 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003846/0.4141, allocations: 2.852 MB / 1.075 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.4163, allocations: 1.312 MB / 1.076 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.4178, allocations: 0.7586 MB / 1.077 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.4194, allocations: 0.926 MB / 1.078 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.4197, allocations: 84 kB / 1.078 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.4226, allocations: 1.47 MB / 1.079 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007586/0.4234, allocations: 0.4907 MB / 1.08 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.4247, allocations: 0.7536 MB / 1.08 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.4286, allocations: 2.449 MB / 1.083 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4286, allocations: 0 / 1.083 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4286, allocations: 0 / 1.083 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.377e-05/0.4287, allocations: 0 / 1.083 GB, free: 9.262 MB / 0.8419 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.003944/0.4327, allocations: 1.867 MB / 1.085 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4327, allocations: 12.03 kB / 1.085 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004804/0.4375, allocations: 0.6737 MB / 1.085 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.4394, allocations: 0.9185 MB / 1.086 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.4396, allocations: 98.89 kB / 1.086 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/0.4399, allocations: 120.3 kB / 1.086 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.4438, allocations: 2.214 MB / 1.089 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/0.4438, allocations: 11.88 kB / 1.089 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.444, allocations: 55.97 kB / 1.089 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/0.4442, allocations: 166.3 kB / 1.089 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/0.4476, allocations: 1.863 MB / 1.091 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.4614, allocations: 12.47 MB / 1.103 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/0.4662, allocations: 1.964 MB / 1.105 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.4675, allocations: 0.605 MB / 1.105 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.4678, allocations: 102.1 kB / 1.105 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.4678, allocations: 47.56 kB / 1.105 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 3.387e-06/0.4678, allocations: 0 / 1.105 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.007231/0.4751, allocations: 3.71 MB / 1.109 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.4752, allocations: 72.33 kB / 1.109 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.4766, allocations: 0.9165 MB / 1.11 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.4766, allocations: 45.7 kB / 1.11 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000585/0.4772, allocations: 0.7274 MB / 1.111 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.4776, allocations: 390.5 kB / 1.111 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/0.4781, allocations: 287.2 kB / 1.111 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4783, allocations: 301.1 kB / 1.112 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.4793, allocations: 0.6129 MB / 1.112 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.4807, allocations: 1.106 MB / 1.113 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4833, allocations: 1.832 MB / 1.115 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.4833, allocations: 8 kB / 1.115 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003993/0.4873, allocations: 2.096 MB / 1.117 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.4874, allocations: 16.03 kB / 1.117 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.4874, allocations: 16 kB / 1.117 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/0.4883, allocations: 266.6 kB / 1.118 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.4897, allocations: 371.4 kB / 1.118 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009403/0.4991, allocations: 10.76 MB / 1.128 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.5006, allocations: 127.8 kB / 1.129 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.5008, allocations: 72 kB / 1.129 GB, free: 7.273 MB / 0.8887 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.0009451/0.5018, allocations: 406.8 kB / 1.129 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/0.5021, allocations: 126.5 kB / 1.129 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.5052, allocations: 1.681 MB / 1.131 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5053, allocations: 12 kB / 1.131 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.5053, allocations: 4 kB / 1.131 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.5053, allocations: 7.969 kB / 1.131 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/0.5107, allocations: 3.295 MB / 1.134 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.5107, allocations: 4 kB / 1.134 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009087/0.5117, allocations: 223.6 kB / 1.134 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007454/0.5124, allocations: 247 kB / 1.134 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-05/0.5125, allocations: 28 kB / 1.134 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008577/0.5211, allocations: 10.74 MB / 1.145 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5211, allocations: 4 kB / 1.145 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.524, allocations: 1.804 MB / 1.147 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.5246, allocations: 311.4 kB / 1.147 GB, free: 3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.5249, allocations: 24 kB / 1.147 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.5257, allocations: 99.81 kB / 1.147 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.5259, allocations: 96.7 kB / 1.147 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.966e-05/0.526, allocations: 35.98 kB / 1.147 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009979/0.527, allocations: 0.6177 MB / 1.148 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/0.527, allocations: 0 / 1.148 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001622/0.5286, allocations: 392 kB / 1.148 GB, free: 1.742 MB / 0.9044 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.000278/0.5289, allocations: 143 kB / 1.148 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003821/0.5327, allocations: 2.493 MB / 1.151 GB, free: 14.99 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5328, allocations: 4.062 kB / 1.151 GB, free: 14.99 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.535, allocations: 1.633 MB / 1.152 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.5369, allocations: 328.7 kB / 1.153 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.5426, allocations: 3.376 MB / 1.156 GB, free: 9.465 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.544, allocations: 1.331 MB / 1.157 GB, free: 8.105 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001247/0.5453, allocations: 359.3 kB / 1.158 GB, free: 7.75 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.5457, allocations: 95.42 kB / 1.158 GB, free: 7.656 MB / 0.92 GB Notification: Performance of SimCode: time 2.786e-06/0.5457, allocations: 0 / 1.158 GB, free: 7.656 MB / 0.92 GB Notification: Performance of Templates: time 0.03416/0.5799, allocations: 16.45 MB / 1.174 GB, free: 7.348 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches