Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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: 105.9 kB / 16.27 MB, free: 6.348 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.001247/0.001247, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 64.44 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007495/0.3427, allocations: 4.286 MB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.3472, allocations: 2.381 MB / 1.025 GB, free: 3.961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.3476, allocations: 15.88 kB / 1.025 GB, free: 3.945 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.3489, allocations: 363.5 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008747/0.3498, allocations: 370.2 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.3506, allocations: 329.8 kB / 1.026 GB, free: 2.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000811/0.3515, allocations: 0.675 MB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.352, allocations: 263 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.3524, allocations: 258.9 kB / 1.027 GB, free: 1.715 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.3528, allocations: 266.9 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.3529, allocations: 31.94 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008787/0.3538, allocations: 427 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.354, allocations: 143.6 kB / 1.028 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.3543, allocations: 242.6 kB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.3553, allocations: 0.7285 MB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3553, allocations: 0 / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3553, allocations: 0 / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3553, allocations: 4 kB / 1.028 GB, free: 15.89 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.001294/0.3566, allocations: 0.7851 MB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3567, allocations: 8.031 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.3581, allocations: 184.1 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.3587, allocations: 412.4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.3587, allocations: 25.38 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.3588, allocations: 32.36 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009945/0.3598, allocations: 0.6549 MB / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3598, allocations: 0 / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.3599, allocations: 23.98 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/0.36, allocations: 51.91 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.3608, allocations: 0.49 MB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/0.3648, allocations: 3.79 MB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.3667, allocations: 0.6328 MB / 1.035 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.367, allocations: 170.5 kB / 1.036 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.367, allocations: 11.94 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3671, allocations: 34.56 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.865e-06/0.3671, allocations: 0 / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002553/0.3696, allocations: 1.28 MB / 1.037 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.3697, allocations: 110.8 kB / 1.037 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.3702, allocations: 401.8 kB / 1.037 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3703, allocations: 33.7 kB / 1.037 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.3705, allocations: 275.5 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3706, allocations: 122.3 kB / 1.038 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.3708, allocations: 102.1 kB / 1.038 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.371, allocations: 354.8 kB / 1.038 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.3713, allocations: 173 kB / 1.038 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.3717, allocations: 375.7 kB / 1.039 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.3725, allocations: 0.5872 MB / 1.039 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3725, allocations: 7.875 kB / 1.039 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001122/0.3737, allocations: 0.6754 MB / 1.04 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3737, allocations: 8 kB / 1.04 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3737, allocations: 8.094 kB / 1.04 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.3741, allocations: 102.4 kB / 1.04 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.3745, allocations: 111.8 kB / 1.04 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/0.3786, allocations: 4.344 MB / 1.044 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.379, allocations: 31.97 kB / 1.044 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.379, allocations: 24 kB / 1.044 GB, free: 14.28 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.0002854/0.3793, allocations: 201.5 kB / 1.045 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3794, allocations: 44.66 kB / 1.045 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.3804, allocations: 0.5224 MB / 1.045 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.3804, allocations: 4 kB / 1.045 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3804, allocations: 7.984 kB / 1.045 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3805, allocations: 3.984 kB / 1.045 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.3823, allocations: 1.283 MB / 1.046 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3824, allocations: 3.984 kB / 1.046 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.3826, allocations: 68.19 kB / 1.047 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.3829, allocations: 86.5 kB / 1.047 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.3829, allocations: 8 kB / 1.047 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/0.3869, allocations: 4.345 MB / 1.051 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3869, allocations: 4.031 kB / 1.051 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3883, allocations: 0.7814 MB / 1.052 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.3886, allocations: 152.5 kB / 1.052 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.3887, allocations: 15.98 kB / 1.052 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.389, allocations: 15.98 kB / 1.052 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3891, allocations: 43.83 kB / 1.052 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.3891, allocations: 8 kB / 1.052 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004364/0.3896, allocations: 283.1 kB / 1.052 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3896, allocations: 0 / 1.052 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009313/0.3905, allocations: 124 kB / 1.052 GB, free: 5.668 MB / 0.8262 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.0002428/0.3908, allocations: 109.9 kB / 1.052 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.3925, allocations: 0.8294 MB / 1.053 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3925, allocations: 3.938 kB / 1.053 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008374/0.3934, allocations: 0.5522 MB / 1.054 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3945, allocations: 140 kB / 1.054 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.3961, allocations: 0.946 MB / 1.055 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/0.3967, allocations: 0.8663 MB / 1.056 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3968, allocations: 39.44 kB / 1.056 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of SimCode: time 8.01e-07/0.3968, allocations: 3.938 kB / 1.056 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of Templates: time 0.015/0.4118, allocations: 11.08 MB / 1.066 GB, free: 6.949 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches