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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.009229/0.009228, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001919/0.001919, allocations: 192.8 kB / 16.79 MB, free: 5.809 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.692/1.692, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 69.42 kB / 0.8991 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2987, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01312/0.3118, allocations: 11.05 MB / 1.064 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009114/0.321, allocations: 5.851 MB / 1.069 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.3223, allocations: 47.69 kB / 1.069 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004115/0.3264, allocations: 1.611 MB / 1.071 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.3295, allocations: 1.074 MB / 1.072 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.3316, allocations: 0.7417 MB / 1.073 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003284/0.3349, allocations: 2.852 MB / 1.075 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.337, allocations: 1.309 MB / 1.077 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.3384, allocations: 0.7546 MB / 1.077 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.3398, allocations: 0.926 MB / 1.078 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000299/0.3401, allocations: 84 kB / 1.078 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.3427, allocations: 1.47 MB / 1.08 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006793/0.3434, allocations: 0.4946 MB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.3446, allocations: 0.7536 MB / 1.081 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.3471, allocations: 1.855 MB / 1.083 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3471, allocations: 0 / 1.083 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3471, allocations: 0 / 1.083 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.937e-05/0.3472, allocations: 0 / 1.083 GB, free: 9.289 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.003612/0.3508, allocations: 1.875 MB / 1.085 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3509, allocations: 11.97 kB / 1.085 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/0.3555, allocations: 0.6738 MB / 1.085 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.3573, allocations: 0.9146 MB / 1.086 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/0.3574, allocations: 94.89 kB / 1.086 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/0.3578, allocations: 132.2 kB / 1.087 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.3617, allocations: 2.206 MB / 1.089 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.447e-05/0.3617, allocations: 15.88 kB / 1.089 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.3619, allocations: 63.91 kB / 1.089 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/0.3622, allocations: 162.3 kB / 1.089 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.3654, allocations: 1.871 MB / 1.091 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.3785, allocations: 12.46 MB / 1.103 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004287/0.3828, allocations: 1.957 MB / 1.105 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008734/0.3837, allocations: 0.605 MB / 1.105 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/0.3839, allocations: 110.1 kB / 1.106 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.384, allocations: 47.48 kB / 1.106 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 3.056e-06/0.384, allocations: 0 / 1.106 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=110): time 0.006226/0.3902, allocations: 3.714 MB / 1.109 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3903, allocations: 64.41 kB / 1.109 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3915, allocations: 0.9126 MB / 1.11 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.3915, allocations: 45.7 kB / 1.11 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004865/0.392, allocations: 0.7314 MB / 1.111 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.3923, allocations: 386.5 kB / 1.111 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.3928, allocations: 287.2 kB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.3929, allocations: 301.1 kB / 1.112 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/0.3938, allocations: 0.6129 MB / 1.112 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.395, allocations: 1.113 MB / 1.114 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.3973, allocations: 1.832 MB / 1.115 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.3974, allocations: 4 kB / 1.115 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00348/0.4008, allocations: 2.104 MB / 1.117 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.4009, allocations: 12 kB / 1.117 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.4009, allocations: 16 kB / 1.117 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008551/0.4018, allocations: 258.9 kB / 1.118 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.403, allocations: 375.4 kB / 1.118 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008549/0.4116, allocations: 10.75 MB / 1.128 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.4129, allocations: 127.8 kB / 1.129 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.4131, allocations: 71.98 kB / 1.129 GB, free: 7.293 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.000795/0.4139, allocations: 401.4 kB / 1.129 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.4142, allocations: 134.4 kB / 1.129 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.4171, allocations: 1.673 MB / 1.131 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4171, allocations: 12 kB / 1.131 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4172, allocations: 3.984 kB / 1.131 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4172, allocations: 15.92 kB / 1.131 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/0.4223, allocations: 3.287 MB / 1.134 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.4223, allocations: 12 kB / 1.134 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/0.4231, allocations: 219.6 kB / 1.134 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007192/0.4238, allocations: 251.2 kB / 1.135 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.4239, allocations: 31.94 kB / 1.135 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008155/0.4321, allocations: 10.74 MB / 1.145 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4321, allocations: 8 kB / 1.145 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.435, allocations: 1.803 MB / 1.147 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/0.4356, allocations: 303.4 kB / 1.147 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.4359, allocations: 28 kB / 1.147 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000746/0.4366, allocations: 95.8 kB / 1.147 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.4368, allocations: 96.7 kB / 1.147 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.4369, allocations: 39.98 kB / 1.147 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008249/0.4377, allocations: 0.6177 MB / 1.148 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4377, allocations: 0 / 1.148 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001398/0.4392, allocations: 392 kB / 1.148 GB, free: 1.75 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.0002348/0.4394, allocations: 143 kB / 1.148 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003562/0.443, allocations: 2.496 MB / 1.151 GB, free: 15 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.443, allocations: 0 / 1.151 GB, free: 15 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002076/0.4451, allocations: 1.618 MB / 1.152 GB, free: 13.28 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.4468, allocations: 335.5 kB / 1.153 GB, free: 12.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.4519, allocations: 3.481 MB / 1.156 GB, free: 9.367 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.453, allocations: 1.335 MB / 1.158 GB, free: 8.004 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.4535, allocations: 115.4 kB / 1.158 GB, free: 7.895 MB / 0.92 GB Notification: Performance of SimCode: time 1.092e-06/0.4535, allocations: 0 / 1.158 GB, free: 7.895 MB / 0.92 GB Notification: Performance of Templates: time 0.06049/0.514, allocations: 59.15 MB / 1.215 GB, free: 12.73 MB / 0.9825 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/jenkins1/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