Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006613/0.006613, allocations: 100.2 kB / 15.73 MB, free: 6.035 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.00124/0.00124, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001233, allocations: 63.91 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3292, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006099/0.3354, allocations: 4.288 MB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003839/0.3392, allocations: 2.377 MB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.3396, allocations: 15.88 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.3407, allocations: 376.4 kB / 1.215 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008718/0.3416, allocations: 370.2 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007569/0.3424, allocations: 327.1 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.3431, allocations: 0.6867 MB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.3435, allocations: 254 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.3438, allocations: 262.9 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.3442, allocations: 258.9 kB / 1.217 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.3443, allocations: 32 kB / 1.217 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006713/0.3449, allocations: 435.1 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3451, allocations: 151.5 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.3453, allocations: 234.6 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.3461, allocations: 0.7359 MB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3461, allocations: 0 / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3461, allocations: 0 / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.3462, allocations: 0 / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001121/0.3473, allocations: 0.7831 MB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3473, allocations: 12.03 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.3486, allocations: 188.1 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.3493, allocations: 444.3 kB / 1.22 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.3493, allocations: 25.36 kB / 1.22 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.3494, allocations: 36.36 kB / 1.22 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.3502, allocations: 0.6471 MB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3503, allocations: 7.938 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.3503, allocations: 19.98 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.361e-05/0.3504, allocations: 47.97 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.3512, allocations: 0.4954 MB / 1.221 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.3546, allocations: 3.771 MB / 1.225 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.3562, allocations: 0.6283 MB / 1.225 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.3564, allocations: 178.5 kB / 1.225 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3565, allocations: 8 kB / 1.225 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3565, allocations: 38.48 kB / 1.225 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.3565, allocations: 0 / 1.225 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002121/0.3587, allocations: 1.277 MB / 1.227 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.3587, allocations: 107.1 kB / 1.227 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.3591, allocations: 405.7 kB / 1.227 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3591, allocations: 29.7 kB / 1.227 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.3593, allocations: 283.5 kB / 1.227 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.3594, allocations: 118.3 kB / 1.227 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3595, allocations: 102.1 kB / 1.228 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002498/0.3598, allocations: 350.8 kB / 1.228 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.36, allocations: 177 kB / 1.228 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3604, allocations: 375.7 kB / 1.228 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.3611, allocations: 0.5913 MB / 1.229 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.3611, allocations: 7.938 kB / 1.229 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001005/0.3621, allocations: 0.6753 MB / 1.23 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3622, allocations: 8 kB / 1.23 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3622, allocations: 12.03 kB / 1.23 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.3625, allocations: 90.45 kB / 1.23 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.3629, allocations: 115.8 kB / 1.23 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.3663, allocations: 4.345 MB / 1.234 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3666, allocations: 32.12 kB / 1.234 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.3667, allocations: 28 kB / 1.234 GB, free: 13.24 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002204/0.3669, allocations: 193.6 kB / 1.234 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.367, allocations: 51.44 kB / 1.234 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008128/0.3678, allocations: 0.5151 MB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3678, allocations: 8 kB / 1.235 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3678, allocations: 4 kB / 1.235 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3678, allocations: 7.984 kB / 1.235 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.3697, allocations: 1.279 MB / 1.236 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3697, allocations: 4 kB / 1.236 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.37, allocations: 64.17 kB / 1.236 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.3702, allocations: 90.78 kB / 1.236 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.3703, allocations: 12 kB / 1.236 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/0.3737, allocations: 4.344 MB / 1.241 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.3737, allocations: 4 kB / 1.241 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008765/0.3746, allocations: 0.7737 MB / 1.241 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.3748, allocations: 152.5 kB / 1.242 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.3748, allocations: 12 kB / 1.242 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.3751, allocations: 19.97 kB / 1.242 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.3752, allocations: 39.84 kB / 1.242 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3752, allocations: 12 kB / 1.242 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002794/0.3755, allocations: 287.1 kB / 1.242 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3755, allocations: 3.938 kB / 1.242 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006544/0.3762, allocations: 120 kB / 1.242 GB, free: 4.637 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002077/0.3764, allocations: 119.1 kB / 1.242 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.3776, allocations: 0.8096 MB / 1.243 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3776, allocations: 4.062 kB / 1.243 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/0.3782, allocations: 0.5428 MB / 1.243 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008933/0.3791, allocations: 128.7 kB / 1.244 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3805, allocations: 0.905 MB / 1.244 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.3809, allocations: 0.8547 MB / 1.245 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000246/0.3811, allocations: 112.5 kB / 1.245 GB, free: 1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.3812, allocations: 39.44 kB / 1.245 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.3812, allocations: 0 / 1.245 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of Templates: time 0.7422/1.123, allocations: 5.947 MB / 1.251 GB, free: 36.89 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches