Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009004/0.0009004, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9353/0.9353, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.887/1.887, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.03e-05, allocations: 3.891 kB / 0.8115 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005958/0.005978, allocations: 4.337 MB / 0.8158 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00361/0.009589, allocations: 2.418 MB / 0.8181 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.009828, allocations: 23.75 kB / 0.8181 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009767/0.0108, allocations: 383.5 kB / 0.8185 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.01157, allocations: 401.6 kB / 0.8189 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.01217, allocations: 329.6 kB / 0.8192 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.01291, allocations: 0.6984 MB / 0.8199 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004632/0.01338, allocations: 231.2 kB / 0.8201 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.01387, allocations: 371 kB / 0.8205 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.01423, allocations: 236.9 kB / 0.8207 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.01428, allocations: 28 kB / 0.8207 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005389/0.01482, allocations: 402.8 kB / 0.8211 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.01498, allocations: 156 kB / 0.8212 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.01516, allocations: 156.1 kB / 0.8214 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007403/0.0159, allocations: 0.5761 MB / 0.822 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.0159, allocations: 5.562 kB / 0.822 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.253e-06/0.0159, allocations: 0 / 0.822 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.01591, allocations: 0 / 0.822 GB, free: 7.402 MB / 0.7761 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.001009/0.01692, allocations: 0.8328 MB / 0.8228 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.01696, allocations: 8.031 kB / 0.8228 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.01841, allocations: 260.1 kB / 0.823 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.019, allocations: 394.7 kB / 0.8234 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.01903, allocations: 29.36 kB / 0.8234 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.0191, allocations: 36.3 kB / 0.8235 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007092/0.0198, allocations: 0.6098 MB / 0.8241 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.01983, allocations: 13.86 kB / 0.8241 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.01987, allocations: 16.36 kB / 0.8241 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.288e-05/0.01996, allocations: 55.89 kB / 0.8241 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.02044, allocations: 245.5 kB / 0.8244 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.02315, allocations: 4.253 MB / 0.8285 GB, free: 328 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.02449, allocations: 0.5139 MB / 0.829 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.02463, allocations: 79.03 kB / 0.8291 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.02465, allocations: 8 kB / 0.8291 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.02468, allocations: 46.2 kB / 0.8292 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=30): time 1.874e-06/0.02468, allocations: 3.938 kB / 0.8292 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.001593/0.02628, allocations: 0.6938 MB / 0.8298 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.02645, allocations: 106.8 kB / 0.8299 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.02682, allocations: 420.2 kB / 0.8303 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.02684, allocations: 29.7 kB / 0.8304 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.02703, allocations: 346.7 kB / 0.8307 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/0.02712, allocations: 123 kB / 0.8308 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.02726, allocations: 103.9 kB / 0.8309 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.02741, allocations: 0.5241 MB / 0.8314 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.02758, allocations: 81.27 kB / 0.8315 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.02791, allocations: 365.6 kB / 0.8319 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.02845, allocations: 495.5 kB / 0.8323 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.02845, allocations: 7.938 kB / 0.8323 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000852/0.02931, allocations: 0.504 MB / 0.8328 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.02932, allocations: 8 kB / 0.8328 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.02934, allocations: 8 kB / 0.8328 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.02964, allocations: 75.02 kB / 0.8329 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.02998, allocations: 112 kB / 0.833 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.03284, allocations: 5.261 MB / 0.8382 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.03312, allocations: 31.97 kB / 0.8382 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.03316, allocations: 24 kB / 0.8382 GB, free: 5.605 MB / 0.7917 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.0001523/0.03331, allocations: 192.5 kB / 0.8384 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.03343, allocations: 63.72 kB / 0.8385 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006062/0.03404, allocations: 335.7 kB / 0.8388 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.03404, allocations: 4 kB / 0.8388 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.03405, allocations: 4 kB / 0.8388 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.03405, allocations: 3.984 kB / 0.8388 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.03539, allocations: 1.078 MB / 0.8398 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.0354, allocations: 4 kB / 0.8398 GB, free: 3.809 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.0356, allocations: 55.91 kB / 0.8399 GB, free: 3.754 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.03583, allocations: 82.94 kB / 0.84 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.03585, allocations: 8 kB / 0.84 GB, free: 3.652 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/0.03855, allocations: 5.256 MB / 0.8451 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.03855, allocations: 0 / 0.8451 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.03924, allocations: 0.765 MB / 0.8459 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.03938, allocations: 79.62 kB / 0.8459 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.03943, allocations: 8 kB / 0.846 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.03972, allocations: 23.97 kB / 0.846 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.03979, allocations: 39.95 kB / 0.846 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.03981, allocations: 12 kB / 0.846 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002343/0.04004, allocations: 271.1 kB / 0.8463 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.04004, allocations: 0 / 0.8463 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006903/0.04073, allocations: 124 kB / 0.8464 GB, free: 12.65 MB / 0.8073 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.0001367/0.04087, allocations: 115.1 kB / 0.8465 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000911/0.04178, allocations: 0.7954 MB / 0.8473 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.04178, allocations: 320 / 0.8473 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.04236, allocations: 0.6298 MB / 0.8479 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.04326, allocations: 137.4 kB / 0.848 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.04471, allocations: 0.8557 MB / 0.8489 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.04484, allocations: 137.8 kB / 0.849 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002303/0.04507, allocations: 88.33 kB / 0.8491 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.853e-05/0.04517, allocations: 36.48 kB / 0.8491 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of SimCode: time 8.81e-07/0.04517, allocations: 0 / 0.8491 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of Templates: time 0.01025/0.05542, allocations: 5.964 MB / 0.8549 GB, free: 3.824 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.184955048142001]