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.001944/0.001944, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002106/0.002106, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 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 1.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.076/3.076, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",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.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.066e-05, allocations: 7.453 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007477/0.007507, allocations: 4.303 MB / 0.815 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005019/0.01253, allocations: 2.408 MB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.01299, allocations: 24.41 kB / 0.8174 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.01443, allocations: 384.3 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.01567, allocations: 400.8 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009572/0.01663, allocations: 317.8 kB / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.01782, allocations: 0.7061 MB / 0.8191 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005628/0.01838, allocations: 230 kB / 0.8193 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.0191, allocations: 371 kB / 0.8197 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.01957, allocations: 239.9 kB / 0.8199 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.01964, allocations: 30.44 kB / 0.82 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008752/0.02051, allocations: 398.8 kB / 0.8203 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.02073, allocations: 159.5 kB / 0.8205 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.02095, allocations: 151.6 kB / 0.8206 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.02204, allocations: 0.7592 MB / 0.8214 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.02205, allocations: 0 / 0.8214 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.02205, allocations: 1.844 kB / 0.8214 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.02206, allocations: 0 / 0.8214 GB, free: 7.277 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.00137/0.02343, allocations: 0.8461 MB / 0.8222 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.02347, allocations: 8.031 kB / 0.8222 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.02495, allocations: 274.4 kB / 0.8225 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/0.02571, allocations: 393.9 kB / 0.8229 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.02575, allocations: 29.36 kB / 0.8229 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.02583, allocations: 32.31 kB / 0.8229 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009625/0.02679, allocations: 0.645 MB / 0.8235 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.02681, allocations: 12.11 kB / 0.8236 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.02686, allocations: 18.3 kB / 0.8236 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/0.02695, allocations: 55.91 kB / 0.8236 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.02753, allocations: 283.5 kB / 0.8239 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.03186, allocations: 4.339 MB / 0.8281 GB, free: 16 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.03358, allocations: 495 kB / 0.8286 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.03375, allocations: 83.03 kB / 0.8287 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.03379, allocations: 12 kB / 0.8287 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.03383, allocations: 37.33 kB / 0.8287 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.03383, allocations: 1.844 kB / 0.8287 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.002103/0.03594, allocations: 0.735 MB / 0.8294 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.03602, allocations: 111.5 kB / 0.8296 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.03657, allocations: 490.5 kB / 0.83 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.03661, allocations: 34.36 kB / 0.8301 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.0369, allocations: 342.8 kB / 0.8304 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.03703, allocations: 141.3 kB / 0.8305 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.03721, allocations: 111.9 kB / 0.8306 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003374/0.03755, allocations: 0.5391 MB / 0.8312 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.03775, allocations: 101.2 kB / 0.8312 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.03823, allocations: 385.1 kB / 0.8316 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/0.03898, allocations: 0.532 MB / 0.8321 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.03898, allocations: 4 kB / 0.8321 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001077/0.04006, allocations: 0.5424 MB / 0.8327 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.04008, allocations: 8 kB / 0.8327 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.0401, allocations: 8.844 kB / 0.8327 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/0.04052, allocations: 95 kB / 0.8328 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.04093, allocations: 107.8 kB / 0.8329 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/0.0457, allocations: 5.319 MB / 0.8381 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.0461, allocations: 36 kB / 0.8381 GB, free: 5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.04616, allocations: 24 kB / 0.8381 GB, free: 4.977 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.0003092/0.04647, allocations: 204.3 kB / 0.8383 GB, free: 4.766 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.04663, allocations: 55.72 kB / 0.8384 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.04751, allocations: 375.7 kB / 0.8387 GB, free: 4.324 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.04752, allocations: 4 kB / 0.8387 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.04752, allocations: 4 kB / 0.8387 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.04753, allocations: 7.984 kB / 0.8387 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.04955, allocations: 1.168 MB / 0.8399 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.04956, allocations: 4 kB / 0.8399 GB, free: 3.043 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.04981, allocations: 59.91 kB / 0.84 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.05014, allocations: 91.22 kB / 0.84 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.05018, allocations: 8 kB / 0.84 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/0.05482, allocations: 5.314 MB / 0.8452 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.05482, allocations: 4 kB / 0.8452 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.05591, allocations: 0.8086 MB / 0.846 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.05617, allocations: 71.67 kB / 0.8461 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.05625, allocations: 12 kB / 0.8461 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.05659, allocations: 19.97 kB / 0.8461 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.05668, allocations: 39.83 kB / 0.8462 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.05671, allocations: 12 kB / 0.8462 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003865/0.05709, allocations: 307.1 kB / 0.8465 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.05709, allocations: 0 / 0.8465 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007394/0.05783, allocations: 128 kB / 0.8466 GB, free: 11.73 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.0001641/0.058, allocations: 119.1 kB / 0.8467 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.05939, allocations: 0.8345 MB / 0.8475 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.0594, allocations: 0 / 0.8475 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008782/0.06027, allocations: 0.6464 MB / 0.8482 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.06121, allocations: 134 kB / 0.8483 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.0629, allocations: 0.8823 MB / 0.8491 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.06324, allocations: 252.3 kB / 0.8494 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000312/0.06355, allocations: 88.33 kB / 0.8495 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.06365, allocations: 32.5 kB / 0.8495 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.06366, allocations: 0 / 0.8495 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of Templates: time 0.01342/0.07707, allocations: 5.956 MB / 0.8553 GB, free: 2.723 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.572038584039547]