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.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.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.001059/0.001059, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 185.1 kB / 16.92 MB, free: 6.895 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 462.6 MB / 0.737 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004176, allocations: 7.938 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.342, allocations: 159.6 MB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005507/0.3475, allocations: 3.94 MB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004043/0.3516, allocations: 2.35 MB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/0.3521, allocations: 15.88 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.3525, allocations: 71.42 kB / 1.066 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.3536, allocations: 350.4 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008714/0.3545, allocations: 302.3 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.3557, allocations: 0.866 MB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.3568, allocations: 454.8 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.3573, allocations: 215.1 kB / 1.068 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.3579, allocations: 262.8 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.3579, allocations: 16 kB / 1.068 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.3589, allocations: 0.534 MB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3591, allocations: 119.6 kB / 1.069 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.3594, allocations: 248.4 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007269/0.3601, allocations: 0.5574 MB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3602, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3602, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.3602, allocations: 4 kB / 1.069 GB, free: 10.7 MB / 0.8262 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.001289/0.3615, allocations: 0.7014 MB / 1.07 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3615, allocations: 11.97 kB / 1.07 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.3631, allocations: 180.1 kB / 1.07 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.3637, allocations: 408.5 kB / 1.071 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.3637, allocations: 33.3 kB / 1.071 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/0.3638, allocations: 28.38 kB / 1.071 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/0.3648, allocations: 0.6588 MB / 1.071 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.3648, allocations: 3.938 kB / 1.071 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.3649, allocations: 19.98 kB / 1.071 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.623e-05/0.365, allocations: 51.97 kB / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.3657, allocations: 499.3 kB / 1.072 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/0.3691, allocations: 3.794 MB / 1.076 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.3708, allocations: 0.6282 MB / 1.076 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.3711, allocations: 178.5 kB / 1.076 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3711, allocations: 4 kB / 1.076 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3711, allocations: 34.56 kB / 1.076 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 4.549e-06/0.3711, allocations: 0 / 1.076 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002339/0.3735, allocations: 1.285 MB / 1.078 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.3735, allocations: 106.8 kB / 1.078 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.374, allocations: 402 kB / 1.078 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.374, allocations: 33.7 kB / 1.078 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3742, allocations: 283.5 kB / 1.078 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/0.3743, allocations: 118.3 kB / 1.079 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.3744, allocations: 45.7 kB / 1.079 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3746, allocations: 358.8 kB / 1.079 GB, free: 276 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.3748, allocations: 173 kB / 1.079 GB, free: 104 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/0.3752, allocations: 379.2 kB / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.376, allocations: 0.5874 MB / 1.08 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.376, allocations: 3.938 kB / 1.08 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001145/0.3771, allocations: 0.6751 MB / 1.081 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3772, allocations: 9.562 kB / 1.081 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.3772, allocations: 8 kB / 1.081 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.3776, allocations: 102.4 kB / 1.081 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.378, allocations: 107.8 kB / 1.081 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.3818, allocations: 4.04 MB / 1.085 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.3823, allocations: 31.97 kB / 1.085 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.3823, allocations: 24 kB / 1.085 GB, free: 9.539 MB / 0.8419 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.0002887/0.3826, allocations: 193.8 kB / 1.085 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3828, allocations: 47.44 kB / 1.085 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009957/0.3838, allocations: 0.5152 MB / 1.086 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3838, allocations: 4 kB / 1.086 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3838, allocations: 3.938 kB / 1.086 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3838, allocations: 11.98 kB / 1.086 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.3857, allocations: 1.287 MB / 1.087 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3857, allocations: 4 kB / 1.087 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.386, allocations: 63.89 kB / 1.087 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.3863, allocations: 86.73 kB / 1.087 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.3863, allocations: 16.27 kB / 1.087 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/0.3896, allocations: 4.025 MB / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.3896, allocations: 7.938 kB / 1.091 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009323/0.3905, allocations: 0.7815 MB / 1.092 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.3908, allocations: 152.5 kB / 1.092 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.3909, allocations: 11.94 kB / 1.092 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.3912, allocations: 23.97 kB / 1.092 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.3913, allocations: 43.89 kB / 1.092 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.3913, allocations: 11.98 kB / 1.092 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003191/0.3916, allocations: 279.1 kB / 1.092 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3916, allocations: 4 kB / 1.092 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007537/0.3924, allocations: 120 kB / 1.092 GB, free: 1.266 MB / 0.8419 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.0001712/0.3926, allocations: 111.1 kB / 1.092 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.3939, allocations: 0.8016 MB / 1.093 GB, free: 312 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.3939, allocations: 0 / 1.093 GB, free: 312 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007324/0.3946, allocations: 0.5513 MB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3957, allocations: 126.9 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.3975, allocations: 1.135 MB / 1.095 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.398, allocations: 0.8702 MB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3981, allocations: 39.44 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of SimCode: time 9.92e-07/0.3981, allocations: 4 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.01631/0.4145, allocations: 11.03 MB / 1.107 GB, free: 2.449 MB / 0.8575 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/jenkins1/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