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.001636/0.001636, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002289/0.002289, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.636/1.636, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.295/3.295, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.00206/0.00206, allocations: 70.64 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4201, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007147/0.4272, allocations: 4.444 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004875/0.4321, allocations: 2.494 MB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000441/0.4325, allocations: 23.75 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.4339, allocations: 394.2 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.435, allocations: 382.1 kB / 1.335 GB, free: 9.703 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.436, allocations: 324.4 kB / 1.335 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.4372, allocations: 0.6869 MB / 1.336 GB, free: 8.695 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004652/0.4376, allocations: 230.1 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.4381, allocations: 267 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.4386, allocations: 282.8 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.4386, allocations: 28 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000932/0.4396, allocations: 447 kB / 1.337 GB, free: 7.461 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.4398, allocations: 147.5 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.44, allocations: 238.7 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.4411, allocations: 0.7315 MB / 1.338 GB, free: 6.348 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4411, allocations: 4 kB / 1.338 GB, free: 6.344 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4411, allocations: 0 / 1.338 GB, free: 6.344 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.4411, allocations: 0 / 1.338 GB, free: 6.344 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.0015/0.4426, allocations: 0.7304 MB / 1.339 GB, free: 5.578 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4427, allocations: 8.031 kB / 1.339 GB, free: 5.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.4441, allocations: 184.4 kB / 1.339 GB, free: 5.391 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/0.4448, allocations: 377.6 kB / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.4448, allocations: 29.3 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/0.4449, allocations: 32.38 kB / 1.339 GB, free: 4.938 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.446, allocations: 0.6549 MB / 1.34 GB, free: 4.191 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.446, allocations: 11.88 kB / 1.34 GB, free: 4.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.446, allocations: 15.98 kB / 1.34 GB, free: 4.164 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.907e-05/0.4461, allocations: 59.95 kB / 1.34 GB, free: 4.105 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.447, allocations: 499.3 kB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.4517, allocations: 3.744 MB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4534, allocations: 0.6095 MB / 1.345 GB, free: 14.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.4538, allocations: 162.5 kB / 1.345 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.4538, allocations: 4 kB / 1.345 GB, free: 14.81 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.4539, allocations: 46.48 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 3.967e-06/0.4539, allocations: 0 / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002613/0.4565, allocations: 1.061 MB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.4566, allocations: 110.8 kB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.457, allocations: 398.4 kB / 1.346 GB, free: 13.14 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.4571, allocations: 29.7 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.4573, allocations: 292.2 kB / 1.347 GB, free: 12.82 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.4574, allocations: 123 kB / 1.347 GB, free: 12.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.4576, allocations: 102.3 kB / 1.347 GB, free: 12.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4578, allocations: 346.8 kB / 1.347 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.4581, allocations: 185.1 kB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.4586, allocations: 380.1 kB / 1.348 GB, free: 11.6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.4595, allocations: 0.5912 MB / 1.348 GB, free: 10.92 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4595, allocations: 7.938 kB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001125/0.4606, allocations: 0.671 MB / 1.349 GB, free: 10.22 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4607, allocations: 10.03 kB / 1.349 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.4607, allocations: 15.94 kB / 1.349 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.461, allocations: 95.11 kB / 1.349 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.4615, allocations: 115.8 kB / 1.349 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.4657, allocations: 4.038 MB / 1.353 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.4661, allocations: 27.97 kB / 1.353 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.4662, allocations: 24 kB / 1.353 GB, free: 5.555 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.000296/0.4665, allocations: 204.1 kB / 1.353 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.4666, allocations: 47.72 kB / 1.354 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009516/0.4675, allocations: 0.5227 MB / 1.354 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4675, allocations: 4 kB / 1.354 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4675, allocations: 4 kB / 1.354 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4676, allocations: 7.984 kB / 1.354 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.4696, allocations: 1.247 MB / 1.355 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4696, allocations: 4 kB / 1.355 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.4699, allocations: 63.89 kB / 1.355 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/0.4702, allocations: 94.39 kB / 1.355 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.4702, allocations: 8 kB / 1.355 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.474, allocations: 4.038 MB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.474, allocations: 4.281 kB / 1.359 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.4752, allocations: 0.7933 MB / 1.36 GB, free: 14 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.4754, allocations: 79.64 kB / 1.36 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.4755, allocations: 11.98 kB / 1.36 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.4757, allocations: 19.98 kB / 1.36 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.4758, allocations: 35.88 kB / 1.36 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.4758, allocations: 12 kB / 1.36 GB, free: 13.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004134/0.4763, allocations: 283.1 kB / 1.361 GB, free: 13.57 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4763, allocations: 4 kB / 1.361 GB, free: 13.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008071/0.4771, allocations: 124 kB / 1.361 GB, free: 13.44 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.0001634/0.4772, allocations: 107.1 kB / 1.361 GB, free: 13.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.4786, allocations: 0.7697 MB / 1.362 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4786, allocations: 1 kB / 1.362 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.4794, allocations: 0.547 MB / 1.362 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009102/0.4803, allocations: 134.2 kB / 1.362 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.482, allocations: 0.969 MB / 1.363 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.4825, allocations: 0.8547 MB / 1.364 GB, free: 9.883 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.4827, allocations: 47.42 kB / 1.364 GB, free: 9.836 MB / 1.061 GB Notification: Performance of SimCode: time 8.61e-07/0.4827, allocations: 0 / 1.364 GB, free: 9.836 MB / 1.061 GB Notification: Performance of Templates: time 0.01671/0.4994, allocations: 11.16 MB / 1.375 GB, free: 14.7 MB / 1.076 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 -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: 13.723792523989687]