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.00643/0.00643, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001138/0.001138, allocations: 195 kB / 16.67 MB, free: 5.934 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.581/2.581, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.017, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007035/1.024, allocations: 4.286 MB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004245/1.029, allocations: 2.381 MB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004605/1.029, allocations: 19.88 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/1.03, allocations: 363.7 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/1.032, allocations: 390.2 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/1.033, allocations: 320.7 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001191/1.034, allocations: 0.6828 MB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/1.035, allocations: 262 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/1.035, allocations: 266.9 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/1.036, allocations: 262.9 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/1.036, allocations: 32 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/1.037, allocations: 435 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/1.037, allocations: 139.6 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003865/1.038, allocations: 230.8 kB / 1.176 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/1.039, allocations: 0.7437 MB / 1.177 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.039, allocations: 0 / 1.177 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.786e-06/1.039, allocations: 0 / 1.177 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.431e-05/1.039, allocations: 0 / 1.177 GB, free: 9.094 MB / 0.9044 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.001356/1.04, allocations: 0.8057 MB / 1.178 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.041, allocations: 12.03 kB / 1.178 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/1.042, allocations: 180.4 kB / 1.178 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/1.043, allocations: 448.7 kB / 1.178 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/1.043, allocations: 33.36 kB / 1.179 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/1.043, allocations: 28.38 kB / 1.179 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.044, allocations: 0.6549 MB / 1.179 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/1.044, allocations: 3.953 kB / 1.179 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/1.044, allocations: 20 kB / 1.179 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.129e-05/1.044, allocations: 47.97 kB / 1.179 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/1.045, allocations: 499.3 kB / 1.18 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00419/1.049, allocations: 3.794 MB / 1.183 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/1.051, allocations: 0.625 MB / 1.184 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/1.051, allocations: 186.5 kB / 1.184 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/1.051, allocations: 7.938 kB / 1.184 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.051, allocations: 34.56 kB / 1.184 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.244e-06/1.051, allocations: 0 / 1.184 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002709/1.054, allocations: 1.298 MB / 1.186 GB, free: 15.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/1.054, allocations: 114.7 kB / 1.186 GB, free: 15.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/1.054, allocations: 397.9 kB / 1.186 GB, free: 15.35 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/1.055, allocations: 29.7 kB / 1.186 GB, free: 15.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/1.055, allocations: 300.1 kB / 1.186 GB, free: 15.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/1.055, allocations: 115 kB / 1.186 GB, free: 14.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/1.055, allocations: 102.1 kB / 1.187 GB, free: 14.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.055, allocations: 354.8 kB / 1.187 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/1.055, allocations: 173 kB / 1.187 GB, free: 14.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/1.056, allocations: 379.2 kB / 1.187 GB, free: 13.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/1.057, allocations: 0.5796 MB / 1.188 GB, free: 13.14 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.057, allocations: 3.938 kB / 1.188 GB, free: 13.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001095/1.058, allocations: 0.6911 MB / 1.189 GB, free: 12.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.058, allocations: 4 kB / 1.189 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.058, allocations: 8 kB / 1.189 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/1.058, allocations: 98.39 kB / 1.189 GB, free: 12.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/1.059, allocations: 115.8 kB / 1.189 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/1.063, allocations: 4.348 MB / 1.193 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/1.063, allocations: 31.97 kB / 1.193 GB, free: 7.398 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/1.063, allocations: 24 kB / 1.193 GB, free: 7.375 MB / 0.92 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.0003486/1.064, allocations: 193.6 kB / 1.193 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/1.064, allocations: 52.8 kB / 1.193 GB, free: 7.125 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/1.065, allocations: 0.523 MB / 1.194 GB, free: 6.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.065, allocations: 4 kB / 1.194 GB, free: 6.586 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.065, allocations: 8 kB / 1.194 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.065, allocations: 3.984 kB / 1.194 GB, free: 6.574 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/1.067, allocations: 1.287 MB / 1.195 GB, free: 5.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.067, allocations: 0 / 1.195 GB, free: 5.191 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/1.067, allocations: 67.89 kB / 1.195 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002638/1.067, allocations: 90.78 kB / 1.195 GB, free: 5.027 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.067, allocations: 8 kB / 1.195 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/1.071, allocations: 4.329 MB / 1.2 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.071, allocations: 8.031 kB / 1.2 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009668/1.072, allocations: 0.7856 MB / 1.2 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/1.072, allocations: 152.8 kB / 1.2 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/1.072, allocations: 15.95 kB / 1.201 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/1.072, allocations: 19.97 kB / 1.201 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/1.072, allocations: 43.84 kB / 1.201 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/1.072, allocations: 8 kB / 1.201 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003102/1.073, allocations: 287.1 kB / 1.201 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/1.073, allocations: 0 / 1.201 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000732/1.074, allocations: 120 kB / 1.201 GB, free: 14.77 MB / 0.9356 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.000166/1.074, allocations: 116.2 kB / 1.201 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001263/1.075, allocations: 0.8135 MB / 1.202 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/1.075, allocations: 4 kB / 1.202 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006889/1.076, allocations: 0.5402 MB / 1.202 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/1.077, allocations: 142.3 kB / 1.203 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/1.078, allocations: 0.9081 MB / 1.203 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/1.079, allocations: 0.8624 MB / 1.204 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002586/1.079, allocations: 104.5 kB / 1.204 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/1.079, allocations: 39.38 kB / 1.204 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/1.079, allocations: 4 kB / 1.204 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.01077/1.09, allocations: 5.849 MB / 1.21 GB, free: 5.277 MB / 0.9356 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=480 -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/jenkins/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