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.001281/0.001281, allocations: 112.6 kB / 16.37 MB, free: 6 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.001339/0.001339, allocations: 196 kB / 17.31 MB, free: 5.613 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.06 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3393, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005358/0.3447, allocations: 4.293 MB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003632/0.3484, allocations: 2.369 MB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3486, allocations: 23.81 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.3498, allocations: 366.3 kB / 1.034 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.3505, allocations: 370.1 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.3512, allocations: 326.7 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007049/0.352, allocations: 0.6866 MB / 1.035 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.3524, allocations: 262 kB / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.3527, allocations: 251 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.353, allocations: 270.8 kB / 1.036 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.3531, allocations: 32 kB / 1.036 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006761/0.3538, allocations: 431 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.3539, allocations: 147.5 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.3541, allocations: 238.7 kB / 1.037 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007216/0.3548, allocations: 0.7319 MB / 1.037 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3549, allocations: 0 / 1.037 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3549, allocations: 0 / 1.037 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3549, allocations: 0 / 1.037 GB, free: 7.238 MB / 0.8106 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.001049/0.3559, allocations: 0.7949 MB / 1.038 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.356, allocations: 8.031 kB / 1.038 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.3573, allocations: 180.1 kB / 1.038 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.3579, allocations: 444.4 kB / 1.039 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3579, allocations: 29.36 kB / 1.039 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.358, allocations: 32.36 kB / 1.039 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.3588, allocations: 0.6517 MB / 1.039 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.3588, allocations: 15.83 kB / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.3589, allocations: 15.98 kB / 1.039 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-05/0.3589, allocations: 55.97 kB / 1.039 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.3596, allocations: 491.3 kB / 1.04 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.3627, allocations: 3.779 MB / 1.044 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.3643, allocations: 0.6244 MB / 1.044 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.3646, allocations: 186.4 kB / 1.044 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.3646, allocations: 4 kB / 1.044 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.3646, allocations: 38.56 kB / 1.044 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.3646, allocations: 0 / 1.044 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002025/0.3667, allocations: 1.28 MB / 1.046 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.3667, allocations: 110.8 kB / 1.046 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.3671, allocations: 397.8 kB / 1.046 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3671, allocations: 29.7 kB / 1.046 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3673, allocations: 287.4 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.3674, allocations: 110.4 kB / 1.047 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3675, allocations: 106 kB / 1.047 GB, free: 13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3676, allocations: 350.8 kB / 1.047 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.3679, allocations: 173 kB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.3682, allocations: 387.1 kB / 1.047 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006353/0.3689, allocations: 0.5832 MB / 1.048 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3689, allocations: 3.938 kB / 1.048 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009704/0.3699, allocations: 0.6753 MB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3699, allocations: 8 kB / 1.049 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3699, allocations: 15.92 kB / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.3702, allocations: 99.86 kB / 1.049 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.3706, allocations: 107.8 kB / 1.049 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.3736, allocations: 4.344 MB / 1.053 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3739, allocations: 31.97 kB / 1.053 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.374, allocations: 24 kB / 1.053 GB, free: 5.59 MB / 0.8262 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.0002062/0.3742, allocations: 197.5 kB / 1.053 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3743, allocations: 43.53 kB / 1.053 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.3751, allocations: 0.5224 MB / 1.054 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3751, allocations: 4 kB / 1.054 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3751, allocations: 0 / 1.054 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3751, allocations: 7.984 kB / 1.054 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3768, allocations: 1.283 MB / 1.055 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3768, allocations: 4 kB / 1.055 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.3771, allocations: 63.89 kB / 1.055 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.3773, allocations: 98.72 kB / 1.055 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.3773, allocations: 11.98 kB / 1.055 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/0.3802, allocations: 4.338 MB / 1.06 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.3802, allocations: 7.938 kB / 1.06 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.381, allocations: 0.7776 MB / 1.06 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.3812, allocations: 152.5 kB / 1.061 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.3813, allocations: 12 kB / 1.061 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.3816, allocations: 19.97 kB / 1.061 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.3817, allocations: 39.84 kB / 1.061 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3817, allocations: 12 kB / 1.061 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002608/0.382, allocations: 279.1 kB / 1.061 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/0.382, allocations: 0 / 1.061 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006423/0.3826, allocations: 124 kB / 1.061 GB, free: 12.99 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.0001271/0.3827, allocations: 115.2 kB / 1.061 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.3839, allocations: 0.8062 MB / 1.062 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3839, allocations: 0 / 1.062 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.3846, allocations: 0.5476 MB / 1.062 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.3854, allocations: 145.8 kB / 1.063 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3867, allocations: 0.8939 MB / 1.063 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3871, allocations: 0.8664 MB / 1.064 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.3873, allocations: 100.5 kB / 1.064 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.3874, allocations: 39.42 kB / 1.064 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.3874, allocations: 7.938 kB / 1.064 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of Templates: time 0.009836/0.3973, allocations: 5.755 MB / 1.07 GB, free: 3.602 MB / 0.8419 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 -s gbode -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