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.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.001392/0.001392, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001607/0.001607, allocations: 220.8 kB / 23 MB, free: 4.914 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.476/3.476, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 69.33 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3941, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00662/0.4007, allocations: 4.152 MB / 1.369 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00455/0.4053, allocations: 2.319 MB / 1.371 GB, free: 7.121 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.4056, allocations: 23.75 kB / 1.371 GB, free: 7.098 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.4069, allocations: 377.3 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.4079, allocations: 390.1 kB / 1.372 GB, free: 6.348 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.4088, allocations: 319.2 kB / 1.372 GB, free: 6.035 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009101/0.4097, allocations: 0.6791 MB / 1.373 GB, free: 5.352 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005117/0.4102, allocations: 230 kB / 1.373 GB, free: 5.121 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005442/0.4108, allocations: 274.9 kB / 1.373 GB, free: 4.852 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.4113, allocations: 258.9 kB / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.4113, allocations: 28 kB / 1.373 GB, free: 4.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007894/0.4121, allocations: 391.1 kB / 1.374 GB, free: 4.188 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.4123, allocations: 151.5 kB / 1.374 GB, free: 4.039 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.4125, allocations: 195 kB / 1.374 GB, free: 3.848 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009991/0.4135, allocations: 0.7354 MB / 1.375 GB, free: 3.109 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4135, allocations: 4 kB / 1.375 GB, free: 3.105 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4135, allocations: 3.938 kB / 1.375 GB, free: 3.102 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.4135, allocations: 0 / 1.375 GB, free: 3.102 MB / 1.061 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.001321/0.4149, allocations: 0.7265 MB / 1.376 GB, free: 2.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4149, allocations: 12.02 kB / 1.376 GB, free: 2.328 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.4162, allocations: 188.4 kB / 1.376 GB, free: 2.145 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.417, allocations: 373.6 kB / 1.376 GB, free: 1.758 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.417, allocations: 29.36 kB / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.4171, allocations: 32.38 kB / 1.376 GB, free: 1.699 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4181, allocations: 0.7263 MB / 1.377 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.4182, allocations: 11.94 kB / 1.377 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.4182, allocations: 12 kB / 1.377 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.622e-05/0.4183, allocations: 55.97 kB / 1.377 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.4191, allocations: 0.4886 MB / 1.377 GB, free: 308 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.4227, allocations: 3.149 MB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.4246, allocations: 0.6009 MB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.4248, allocations: 162.5 kB / 1.381 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.4249, allocations: 8 kB / 1.381 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.4249, allocations: 42.5 kB / 1.381 GB, free: 12.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.4249, allocations: 0 / 1.381 GB, free: 12.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002571/0.4275, allocations: 1.057 MB / 1.382 GB, free: 11.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.4276, allocations: 110.8 kB / 1.382 GB, free: 10.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.428, allocations: 397.2 kB / 1.383 GB, free: 10.56 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.4281, allocations: 33.7 kB / 1.383 GB, free: 10.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.4283, allocations: 288 kB / 1.383 GB, free: 10.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4284, allocations: 123 kB / 1.383 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.4286, allocations: 94.3 kB / 1.383 GB, free: 10.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.4288, allocations: 358.8 kB / 1.384 GB, free: 9.652 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.4291, allocations: 169.2 kB / 1.384 GB, free: 9.484 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.4295, allocations: 380.1 kB / 1.384 GB, free: 9.023 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008055/0.4303, allocations: 0.5793 MB / 1.385 GB, free: 8.352 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4303, allocations: 4 kB / 1.385 GB, free: 8.348 MB / 1.076 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001168/0.4315, allocations: 0.6791 MB / 1.385 GB, free: 7.652 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.4315, allocations: 8 kB / 1.385 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4316, allocations: 8 kB / 1.385 GB, free: 7.637 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.4319, allocations: 102.5 kB / 1.386 GB, free: 7.527 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.4323, allocations: 107.8 kB / 1.386 GB, free: 7.422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/0.4362, allocations: 3.973 MB / 1.39 GB, free: 3.141 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.4366, allocations: 31.97 kB / 1.39 GB, free: 3.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.4367, allocations: 24 kB / 1.39 GB, free: 3.086 MB / 1.076 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.0002969/0.437, allocations: 195.7 kB / 1.39 GB, free: 2.887 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.4371, allocations: 47.66 kB / 1.39 GB, free: 2.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009457/0.438, allocations: 0.5224 MB / 1.39 GB, free: 2.305 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.438, allocations: 4 kB / 1.39 GB, free: 2.301 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.438, allocations: 0 / 1.39 GB, free: 2.301 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.438, allocations: 7.938 kB / 1.39 GB, free: 2.293 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.4399, allocations: 1.147 MB / 1.391 GB, free: 1.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.4399, allocations: 4 kB / 1.391 GB, free: 1.066 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.4402, allocations: 64.17 kB / 1.391 GB, free: 1.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.4405, allocations: 90.52 kB / 1.392 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.4405, allocations: 11.98 kB / 1.392 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.4442, allocations: 3.962 MB / 1.395 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4443, allocations: 4.031 kB / 1.395 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4453, allocations: 0.7825 MB / 1.396 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.4456, allocations: 75.61 kB / 1.396 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.4456, allocations: 12 kB / 1.396 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.4459, allocations: 19.97 kB / 1.396 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.446, allocations: 43.83 kB / 1.396 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.446, allocations: 8 kB / 1.396 GB, free: 11.63 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003348/0.4464, allocations: 263.1 kB / 1.397 GB, free: 11.38 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4464, allocations: 0 / 1.397 GB, free: 11.38 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007179/0.4471, allocations: 124 kB / 1.397 GB, free: 11.25 MB / 1.092 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.0001651/0.4473, allocations: 107.2 kB / 1.397 GB, free: 11.14 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.4486, allocations: 0.7827 MB / 1.398 GB, free: 10.32 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4486, allocations: 0 / 1.398 GB, free: 10.32 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.4494, allocations: 0.5318 MB / 1.398 GB, free: 9.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/0.4503, allocations: 145.8 kB / 1.398 GB, free: 9.609 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.452, allocations: 0.9632 MB / 1.399 GB, free: 8.578 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.4523, allocations: 260.2 kB / 1.399 GB, free: 8.301 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.4525, allocations: 43.42 kB / 1.4 GB, free: 8.258 MB / 1.092 GB Notification: Performance of SimCode: time 1.122e-06/0.4525, allocations: 0 / 1.4 GB, free: 8.258 MB / 1.092 GB Notification: Performance of Templates: time 0.01602/0.4685, allocations: 11.22 MB / 1.41 GB, free: 13.06 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.44501127814874]