Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001607/0.001607, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001861/0.001861, allocations: 206.6 kB / 22.99 MB, free: 4.965 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.35/3.35, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [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.002078/0.002078, allocations: 76.08 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3678, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005735/0.3736, allocations: 3.252 MB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.3774, allocations: 1.979 MB / 1.37 GB, free: 8.316 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.3776, allocations: 7.938 kB / 1.37 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.3787, allocations: 293.5 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006591/0.3793, allocations: 234.9 kB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.3802, allocations: 291.3 kB / 1.371 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.3808, allocations: 406.8 kB / 1.371 GB, free: 7.109 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.3812, allocations: 176.2 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.3815, allocations: 167.5 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.382, allocations: 207.2 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.3821, allocations: 24 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.3825, allocations: 247.5 kB / 1.372 GB, free: 6.301 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.3827, allocations: 123.7 kB / 1.372 GB, free: 6.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.383, allocations: 123.4 kB / 1.372 GB, free: 6.059 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.384, allocations: 494.2 kB / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.384, allocations: 0 / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.984e-06/0.384, allocations: 0 / 1.372 GB, free: 5.574 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.384, allocations: 0 / 1.372 GB, free: 5.574 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001487/0.3855, allocations: 0.5284 MB / 1.373 GB, free: 5.016 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3856, allocations: 12.03 kB / 1.373 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.3866, allocations: 112.6 kB / 1.373 GB, free: 4.895 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.3872, allocations: 218.8 kB / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.3872, allocations: 32.73 kB / 1.373 GB, free: 4.621 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.3874, allocations: 36.69 kB / 1.373 GB, free: 4.586 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/0.3883, allocations: 0.5257 MB / 1.374 GB, free: 4.008 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.3883, allocations: 4 kB / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.3883, allocations: 4 kB / 1.374 GB, free: 4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.3885, allocations: 48.44 kB / 1.374 GB, free: 3.953 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.3892, allocations: 369.7 kB / 1.374 GB, free: 3.594 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.3919, allocations: 1.59 MB / 1.376 GB, free: 1.938 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.3923, allocations: 246.4 kB / 1.376 GB, free: 1.688 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.3926, allocations: 140.8 kB / 1.376 GB, free: 1.547 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3926, allocations: 4 kB / 1.376 GB, free: 1.543 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3926, allocations: 34.5 kB / 1.376 GB, free: 1.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.3926, allocations: 0 / 1.376 GB, free: 1.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.001871/0.3945, allocations: 0.9153 MB / 1.377 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3946, allocations: 59.39 kB / 1.377 GB, free: 496 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.3949, allocations: 247.7 kB / 1.377 GB, free: 236 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.3949, allocations: 33.7 kB / 1.377 GB, free: 196 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3951, allocations: 184.3 kB / 1.378 GB, free: 8 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3952, allocations: 87.45 kB / 1.378 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.3953, allocations: 81.62 kB / 1.378 GB, free: 15.83 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3955, allocations: 330.8 kB / 1.378 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.3958, allocations: 163.9 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.3962, allocations: 237.6 kB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.3968, allocations: 410.8 kB / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3968, allocations: 0 / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001284/0.3981, allocations: 0.5932 MB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3981, allocations: 8 kB / 1.379 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3981, allocations: 4 kB / 1.379 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/0.3988, allocations: 184.8 kB / 1.38 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.3992, allocations: 67.89 kB / 1.38 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.4024, allocations: 2.358 MB / 1.382 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.4028, allocations: 27.97 kB / 1.382 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.4028, allocations: 11.94 kB / 1.382 GB, free: 11.28 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.403, allocations: 173.8 kB / 1.382 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.4031, allocations: 27.8 kB / 1.382 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.4037, allocations: 347.3 kB / 1.383 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4037, allocations: 4 kB / 1.383 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4037, allocations: 3.984 kB / 1.383 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4037, allocations: 0 / 1.383 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.4049, allocations: 0.7046 MB / 1.383 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4049, allocations: 64 / 1.383 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.4053, allocations: 79.88 kB / 1.383 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4053, allocations: 4 kB / 1.383 GB, free: 9.887 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.4053, allocations: 8 kB / 1.383 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4053, allocations: 0 / 1.383 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4053, allocations: 0 / 1.383 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.4061, allocations: 0.6196 MB / 1.384 GB, free: 9.238 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4063, allocations: 47.88 kB / 1.384 GB, free: 9.191 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.4063, allocations: 4 kB / 1.384 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.4066, allocations: 15.98 kB / 1.384 GB, free: 9.172 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.4066, allocations: 23.97 kB / 1.384 GB, free: 9.148 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4066, allocations: 4 kB / 1.384 GB, free: 9.145 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002463/0.4069, allocations: 180 kB / 1.384 GB, free: 8.969 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4069, allocations: 4 kB / 1.384 GB, free: 8.965 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004331/0.4073, allocations: 88 kB / 1.384 GB, free: 8.879 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.4075, allocations: 111.1 kB / 1.384 GB, free: 8.762 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.4085, allocations: 0.5104 MB / 1.385 GB, free: 8.238 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4085, allocations: 0 / 1.385 GB, free: 8.238 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.4087, allocations: 139.8 kB / 1.385 GB, free: 8.102 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.4092, allocations: 69.53 kB / 1.385 GB, free: 8.043 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.4108, allocations: 0.8785 MB / 1.386 GB, free: 7.129 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.4111, allocations: 190 kB / 1.386 GB, free: 6.922 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4112, allocations: 27.44 kB / 1.386 GB, free: 6.895 MB / 1.076 GB Notification: Performance of SimCode: time 4e-07/0.4112, allocations: 0 / 1.386 GB, free: 6.895 MB / 1.076 GB Notification: Performance of Templates: time 0.008401/0.4196, allocations: 4.603 MB / 1.391 GB, free: 2.297 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: 12.519278130028397]