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.001599/0.001599, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001904/0.001904, allocations: 213.8 kB / 22.99 MB, free: 4.406 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.266/3.266, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002875/0.002875, allocations: 62.5 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4325, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006555/0.4391, allocations: 4.157 MB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004526/0.4436, allocations: 2.311 MB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.4439, allocations: 31.75 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.4451, allocations: 374.2 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009994/0.4461, allocations: 386.1 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.447, allocations: 320.7 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.4479, allocations: 0.683 MB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.4483, allocations: 234 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.4487, allocations: 271 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.4491, allocations: 278.8 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.4492, allocations: 32 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007185/0.4499, allocations: 383.1 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.45, allocations: 151.5 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.4503, allocations: 207 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009205/0.4512, allocations: 0.7276 MB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4512, allocations: 0 / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4512, allocations: 0 / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.4512, allocations: 4 kB / 1.337 GB, free: 6.43 MB / 1.029 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.00126/0.4525, allocations: 0.7312 MB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4525, allocations: 12.03 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.4538, allocations: 184.3 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.4545, allocations: 381.6 kB / 1.339 GB, free: 5.074 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4545, allocations: 21.38 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.4546, allocations: 32.36 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4556, allocations: 0.7341 MB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.4556, allocations: 3.938 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.4557, allocations: 16 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.298e-05/0.4557, allocations: 51.95 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.4565, allocations: 0.4915 MB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.4599, allocations: 3.145 MB / 1.343 GB, free: 352 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.4616, allocations: 0.6009 MB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.4618, allocations: 166.4 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.4619, allocations: 4 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.4619, allocations: 42.5 kB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 3.907e-06/0.4619, allocations: 3.984 kB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002233/0.4641, allocations: 1.065 MB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.4642, allocations: 106.8 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.4646, allocations: 385.3 kB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.4647, allocations: 29.7 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.4649, allocations: 292 kB / 1.346 GB, free: 13.56 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.465, allocations: 123 kB / 1.346 GB, free: 13.44 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.4652, allocations: 110.2 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.4654, allocations: 346.8 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.4656, allocations: 177.2 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.4661, allocations: 380.1 kB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.4668, allocations: 0.5793 MB / 1.347 GB, free: 11.67 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4668, allocations: 4 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001115/0.468, allocations: 0.6755 MB / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.468, allocations: 11.98 kB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.468, allocations: 8.031 kB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.4684, allocations: 94.7 kB / 1.348 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.4688, allocations: 115.8 kB / 1.348 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.4725, allocations: 3.965 MB / 1.352 GB, free: 6.465 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.4728, allocations: 31.97 kB / 1.352 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.4729, allocations: 28.31 kB / 1.352 GB, free: 6.406 MB / 1.045 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.0002839/0.4732, allocations: 202.1 kB / 1.352 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.4733, allocations: 51.66 kB / 1.352 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.4742, allocations: 0.4989 MB / 1.353 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.4742, allocations: 4 kB / 1.353 GB, free: 5.633 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4742, allocations: 4 kB / 1.353 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4742, allocations: 7.922 kB / 1.353 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.476, allocations: 1.154 MB / 1.354 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.476, allocations: 4 kB / 1.354 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.4762, allocations: 59.91 kB / 1.354 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/0.4765, allocations: 94.44 kB / 1.354 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.4765, allocations: 8.281 kB / 1.354 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.4801, allocations: 3.966 MB / 1.358 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.4801, allocations: 4 kB / 1.358 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.4812, allocations: 0.7777 MB / 1.359 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.4814, allocations: 79.62 kB / 1.359 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.4815, allocations: 16.2 kB / 1.359 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.4818, allocations: 24.14 kB / 1.359 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.4818, allocations: 39.88 kB / 1.359 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.4819, allocations: 19.88 kB / 1.359 GB, free: 14.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003178/0.4822, allocations: 259.2 kB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4822, allocations: 0 / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007352/0.4829, allocations: 120 kB / 1.359 GB, free: 14.56 MB / 1.061 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.0002035/0.4831, allocations: 115.2 kB / 1.359 GB, free: 14.44 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.4845, allocations: 0.775 MB / 1.36 GB, free: 13.63 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4845, allocations: 320 / 1.36 GB, free: 13.63 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008046/0.4853, allocations: 0.5387 MB / 1.361 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008699/0.4862, allocations: 133.8 kB / 1.361 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.4879, allocations: 0.9243 MB / 1.362 GB, free: 11.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4883, allocations: 260.2 kB / 1.362 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002799/0.4886, allocations: 100.3 kB / 1.362 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.4887, allocations: 39.44 kB / 1.362 GB, free: 11.52 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/0.4887, allocations: 0 / 1.362 GB, free: 11.52 MB / 1.061 GB Notification: Performance of Templates: time 0.01339/0.5021, allocations: 6.557 MB / 1.368 GB, free: 5.094 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 9.330459205026273]