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.001737/0.001737, allocations: 106.5 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.002166/0.002166, allocations: 220.7 kB / 23.01 MB, free: 4.605 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.556/1.556, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.454/3.454, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002277/0.002277, allocations: 67.55 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3627, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006516/0.3692, allocations: 4.44 MB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00438/0.3736, allocations: 2.49 MB / 1.361 GB, free: 1.016 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.3738, allocations: 23.75 kB / 1.361 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.375, allocations: 390.2 kB / 1.361 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009115/0.3759, allocations: 382.2 kB / 1.362 GB, free: 240 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008545/0.3768, allocations: 334.1 kB / 1.362 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008542/0.3777, allocations: 0.683 MB / 1.363 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.3781, allocations: 230 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.3785, allocations: 267 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.379, allocations: 282.8 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.379, allocations: 32 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009068/0.3799, allocations: 447 kB / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.3801, allocations: 147.5 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.3804, allocations: 234.7 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3814, allocations: 0.7315 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3814, allocations: 4 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3814, allocations: 3.938 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.3814, allocations: 0 / 1.365 GB, free: 12.87 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.001298/0.3827, allocations: 0.7265 MB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3828, allocations: 8.031 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.3841, allocations: 192.4 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.3847, allocations: 373.5 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.3848, allocations: 25.36 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.3848, allocations: 36.38 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/0.3858, allocations: 0.6521 MB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3858, allocations: 4 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.3859, allocations: 19.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-05/0.3859, allocations: 55.91 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.3867, allocations: 0.4921 MB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.3903, allocations: 3.752 MB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.392, allocations: 0.6126 MB / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.3923, allocations: 158.5 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3923, allocations: 3.938 kB / 1.372 GB, free: 5.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3923, allocations: 46.55 kB / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.854e-06/0.3923, allocations: 0 / 1.372 GB, free: 5.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002278/0.3946, allocations: 1.073 MB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.3947, allocations: 106.8 kB / 1.373 GB, free: 4.066 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.3952, allocations: 397.9 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3952, allocations: 29.7 kB / 1.373 GB, free: 3.629 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.3954, allocations: 284.2 kB / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3955, allocations: 123 kB / 1.374 GB, free: 3.227 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.3957, allocations: 106.2 kB / 1.374 GB, free: 3.117 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3958, allocations: 350.8 kB / 1.374 GB, free: 2.766 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.3961, allocations: 177.2 kB / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.3966, allocations: 380.1 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.3973, allocations: 0.5912 MB / 1.375 GB, free: 1.445 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3974, allocations: 8.219 kB / 1.375 GB, free: 1.438 MB / 1.061 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001137/0.3985, allocations: 0.671 MB / 1.376 GB, free: 0.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3985, allocations: 8 kB / 1.376 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3985, allocations: 12.69 kB / 1.376 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003784/0.3989, allocations: 102.4 kB / 1.376 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.3993, allocations: 111.8 kB / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/0.4031, allocations: 4.03 MB / 1.38 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.4035, allocations: 31.97 kB / 1.38 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.4035, allocations: 24 kB / 1.38 GB, free: 12.08 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.0002976/0.4038, allocations: 209.5 kB / 1.38 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4039, allocations: 47.72 kB / 1.38 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009521/0.4049, allocations: 0.5185 MB / 1.381 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4049, allocations: 4 kB / 1.381 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.4049, allocations: 8 kB / 1.381 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4049, allocations: 3.984 kB / 1.381 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.4068, allocations: 1.251 MB / 1.382 GB, free: 9.934 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4068, allocations: 4 kB / 1.382 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.4071, allocations: 59.89 kB / 1.382 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.4074, allocations: 86.8 kB / 1.382 GB, free: 9.777 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.4074, allocations: 16 kB / 1.382 GB, free: 9.762 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003579/0.411, allocations: 4.031 MB / 1.386 GB, free: 5.387 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.411, allocations: 4 kB / 1.386 GB, free: 5.383 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.412, allocations: 0.7864 MB / 1.387 GB, free: 4.539 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.4122, allocations: 75.67 kB / 1.387 GB, free: 4.465 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.4123, allocations: 15.88 kB / 1.387 GB, free: 4.449 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.4126, allocations: 23.97 kB / 1.387 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.4127, allocations: 39.83 kB / 1.387 GB, free: 4.387 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4127, allocations: 11.98 kB / 1.387 GB, free: 4.375 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003461/0.413, allocations: 283.1 kB / 1.388 GB, free: 4.105 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.413, allocations: 0 / 1.388 GB, free: 4.105 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007075/0.4137, allocations: 124 kB / 1.388 GB, free: 3.984 MB / 1.076 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.0001513/0.4139, allocations: 107.1 kB / 1.388 GB, free: 3.867 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.4152, allocations: 0.782 MB / 1.388 GB, free: 3.047 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4152, allocations: 0 / 1.388 GB, free: 3.047 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.4159, allocations: 0.5351 MB / 1.389 GB, free: 2.473 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.4168, allocations: 141.2 kB / 1.389 GB, free: 2.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.4184, allocations: 0.9768 MB / 1.39 GB, free: 1.293 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.4189, allocations: 0.8586 MB / 1.391 GB, free: 416 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.419, allocations: 39.42 kB / 1.391 GB, free: 376 kB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.419, allocations: 0 / 1.391 GB, free: 376 kB / 1.076 GB Notification: Performance of Templates: time 0.01554/0.4346, allocations: 11.17 MB / 1.402 GB, free: 5.223 MB / 1.092 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.500170843995875]