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.0009984/0.0009985, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007475/0.007475, allocations: 172.9 kB / 16.26 MB, free: 6.676 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 462.7 MB / 0.7364 GB, free: 216 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 12.2 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3163, allocations: 159.6 MB / 1.059 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004753/0.3211, allocations: 3.94 MB / 1.063 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.3246, allocations: 2.346 MB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.3248, allocations: 15.88 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.3251, allocations: 75.42 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008759/0.326, allocations: 350.4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.3267, allocations: 295.4 kB / 1.066 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000809/0.3275, allocations: 0.8621 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008367/0.3284, allocations: 454.7 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.3287, allocations: 215.1 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.3291, allocations: 266.8 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.3291, allocations: 16 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/0.3299, allocations: 0.5262 MB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.33, allocations: 123.6 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.3302, allocations: 248.4 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007401/0.331, allocations: 0.7476 MB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.331, allocations: 0 / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.331, allocations: 0 / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.331, allocations: 4 kB / 1.069 GB, free: 10.89 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.0009756/0.332, allocations: 0.7015 MB / 1.07 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.332, allocations: 11.97 kB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.3333, allocations: 180.1 kB / 1.07 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.3339, allocations: 416.4 kB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3339, allocations: 25.36 kB / 1.07 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.334, allocations: 32.38 kB / 1.07 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/0.3349, allocations: 0.6549 MB / 1.071 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3349, allocations: 4 kB / 1.071 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.3349, allocations: 15.98 kB / 1.071 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.11e-05/0.335, allocations: 59.89 kB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.3357, allocations: 491.4 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.3391, allocations: 3.794 MB / 1.075 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.3407, allocations: 0.6282 MB / 1.076 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.341, allocations: 182.4 kB / 1.076 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.341, allocations: 0 / 1.076 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.3411, allocations: 42.55 kB / 1.076 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.3411, allocations: 0 / 1.076 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002195/0.3433, allocations: 1.274 MB / 1.077 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3433, allocations: 106.9 kB / 1.077 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.3437, allocations: 409.7 kB / 1.078 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.3438, allocations: 33.7 kB / 1.078 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.344, allocations: 279.5 kB / 1.078 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.3441, allocations: 118.4 kB / 1.078 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.3442, allocations: 45.7 kB / 1.078 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3443, allocations: 354.8 kB / 1.078 GB, free: 484 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3446, allocations: 177 kB / 1.079 GB, free: 308 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.345, allocations: 375.2 kB / 1.079 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007133/0.3457, allocations: 0.5912 MB / 1.08 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3457, allocations: 7.938 kB / 1.08 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001027/0.3467, allocations: 0.6713 MB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3468, allocations: 8 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3468, allocations: 8 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003437/0.3471, allocations: 102.4 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.3475, allocations: 111.8 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.3507, allocations: 4.04 MB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.351, allocations: 27.97 kB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.3511, allocations: 24 kB / 1.084 GB, free: 9.742 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.0002669/0.3513, allocations: 197.8 kB / 1.085 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3515, allocations: 51.42 kB / 1.085 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.3523, allocations: 0.5108 MB / 1.085 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3524, allocations: 8 kB / 1.085 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3524, allocations: 0 / 1.085 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3524, allocations: 7.984 kB / 1.085 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.3541, allocations: 1.287 MB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3541, allocations: 4 kB / 1.086 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.3543, allocations: 63.98 kB / 1.086 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/0.3546, allocations: 86.45 kB / 1.087 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3547, allocations: 12.27 kB / 1.087 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.3578, allocations: 4.028 MB / 1.091 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3578, allocations: 0 / 1.091 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.3587, allocations: 0.7937 MB / 1.091 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.3589, allocations: 152.5 kB / 1.091 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.3589, allocations: 11.94 kB / 1.091 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.3592, allocations: 23.97 kB / 1.091 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.3593, allocations: 39.89 kB / 1.092 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.3593, allocations: 12 kB / 1.092 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002839/0.3596, allocations: 283.1 kB / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3596, allocations: 0 / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006315/0.3602, allocations: 120 kB / 1.092 GB, free: 1.469 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.0001448/0.3604, allocations: 118.2 kB / 1.092 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.3615, allocations: 0.7978 MB / 1.093 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3616, allocations: 4 kB / 1.093 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.3622, allocations: 0.5512 MB / 1.093 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3632, allocations: 129.8 kB / 1.093 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.3645, allocations: 1.097 MB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.3649, allocations: 0.8663 MB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.3652, allocations: 96.48 kB / 1.095 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.3653, allocations: 43.42 kB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3653, allocations: 0 / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of Templates: time 0.01012/0.3755, allocations: 5.468 MB / 1.101 GB, free: 8.191 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/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