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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.009828/0.009828, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.002115/0.002115, allocations: 193 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.527/2.527, allocations: 472.6 MB / 0.7453 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8507/0.8519, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006013/0.858, allocations: 4.286 MB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003823/0.8618, allocations: 2.373 MB / 1.232 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.8623, allocations: 15.88 kB / 1.232 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.8635, allocations: 386.2 kB / 1.232 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.8645, allocations: 366.2 kB / 1.233 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.8654, allocations: 327.2 kB / 1.233 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009232/0.8663, allocations: 0.6789 MB / 1.234 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.8668, allocations: 254 kB / 1.234 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004512/0.8672, allocations: 263 kB / 1.234 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.8677, allocations: 258.9 kB / 1.235 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.8678, allocations: 28 kB / 1.235 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.8685, allocations: 439 kB / 1.235 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.8687, allocations: 143.6 kB / 1.235 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.869, allocations: 238.6 kB / 1.235 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.8701, allocations: 0.7281 MB / 1.236 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.8702, allocations: 0 / 1.236 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8702, allocations: 4 kB / 1.236 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.335e-05/0.8702, allocations: 4 kB / 1.236 GB, free: 2.727 MB / 0.9512 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.001455/0.8717, allocations: 0.8018 MB / 1.237 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.8717, allocations: 8.031 kB / 1.237 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.8731, allocations: 192.3 kB / 1.237 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.8738, allocations: 436.8 kB / 1.237 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.8738, allocations: 25.36 kB / 1.237 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.8739, allocations: 40.36 kB / 1.238 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.8748, allocations: 0.6548 MB / 1.238 GB, free: 408 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.8748, allocations: 7.922 kB / 1.238 GB, free: 400 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.8749, allocations: 19.98 kB / 1.238 GB, free: 380 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.934e-05/0.875, allocations: 51.97 kB / 1.238 GB, free: 328 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008155/0.8758, allocations: 0.4925 MB / 1.239 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/0.8794, allocations: 3.783 MB / 1.242 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.8811, allocations: 0.6321 MB / 1.243 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.8813, allocations: 178.5 kB / 1.243 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.8814, allocations: 7.984 kB / 1.243 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.8814, allocations: 42.5 kB / 1.243 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.8814, allocations: 4 kB / 1.243 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002395/0.8838, allocations: 1.293 MB / 1.245 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.8839, allocations: 110.8 kB / 1.245 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.8843, allocations: 393.9 kB / 1.245 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.8844, allocations: 33.7 kB / 1.245 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.8846, allocations: 284.1 kB / 1.245 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.325e-05/0.8847, allocations: 119 kB / 1.245 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.8849, allocations: 106.1 kB / 1.246 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.885, allocations: 350.8 kB / 1.246 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.8853, allocations: 177 kB / 1.246 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.8857, allocations: 379.2 kB / 1.246 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.8864, allocations: 0.5929 MB / 1.247 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.8864, allocations: 7.938 kB / 1.247 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001098/0.8875, allocations: 0.6752 MB / 1.248 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.8876, allocations: 8 kB / 1.248 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.8876, allocations: 4 kB / 1.248 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.888, allocations: 103 kB / 1.248 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.8883, allocations: 111.8 kB / 1.248 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.8918, allocations: 4.348 MB / 1.252 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.8921, allocations: 27.97 kB / 1.252 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.8922, allocations: 24 kB / 1.252 GB, free: 1.023 MB / 0.9669 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.0002325/0.8924, allocations: 206.1 kB / 1.252 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.8925, allocations: 47.67 kB / 1.252 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008787/0.8934, allocations: 0.5185 MB / 1.253 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.8934, allocations: 4 kB / 1.253 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8934, allocations: 4 kB / 1.253 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.8934, allocations: 3.984 kB / 1.253 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.8952, allocations: 1.287 MB / 1.254 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.8952, allocations: 4 kB / 1.254 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.8954, allocations: 63.88 kB / 1.254 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.8957, allocations: 94.44 kB / 1.254 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.8957, allocations: 8 kB / 1.254 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003234/0.899, allocations: 4.341 MB / 1.259 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.899, allocations: 0 / 1.259 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.9, allocations: 0.7838 MB / 1.259 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.9002, allocations: 156.7 kB / 1.259 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.9002, allocations: 8 kB / 1.259 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.9005, allocations: 27.97 kB / 1.26 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.9006, allocations: 27.91 kB / 1.26 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.9006, allocations: 19.94 kB / 1.26 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000283/0.9009, allocations: 283.1 kB / 1.26 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9009, allocations: 0 / 1.26 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006427/0.9016, allocations: 124 kB / 1.26 GB, free: 8.41 MB / 0.9825 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.0001524/0.9017, allocations: 115.1 kB / 1.26 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.903, allocations: 0.7982 MB / 1.261 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.903, allocations: 0 / 1.261 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.9037, allocations: 0.5552 MB / 1.261 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/0.9046, allocations: 130.1 kB / 1.261 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.906, allocations: 0.9262 MB / 1.262 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.9065, allocations: 0.8586 MB / 1.263 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000258/0.9068, allocations: 104.5 kB / 1.263 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.9069, allocations: 39.42 kB / 1.263 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.9069, allocations: 0 / 1.263 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of Templates: time 0.0114/0.9183, allocations: 5.848 MB / 1.269 GB, free: 14.92 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