Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001275/0.001275, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001429/0.001429, allocations: 213.9 kB / 22.99 MB, free: 4.984 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.235/3.235, 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.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_12_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_12_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.002087/0.002087, allocations: 68.48 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4309, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005965/0.4368, allocations: 3.237 MB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003784/0.4406, allocations: 1.987 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.4408, allocations: 11.88 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.4418, allocations: 298.8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.4424, allocations: 231 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.4432, allocations: 296.5 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.4437, allocations: 410.7 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.444, allocations: 172.2 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.4443, allocations: 171.4 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.4447, allocations: 215.2 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.4447, allocations: 28 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.4452, allocations: 247.5 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.4453, allocations: 123.7 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.4455, allocations: 123.4 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.4461, allocations: 494.2 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4461, allocations: 4 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4461, allocations: 0 / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.4461, allocations: 0 / 1.335 GB, free: 9 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001305/0.4474, allocations: 0.5331 MB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4475, allocations: 8.031 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.4485, allocations: 116.6 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.4489, allocations: 215.4 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.449, allocations: 28.86 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.4491, allocations: 32.73 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008232/0.4499, allocations: 0.5219 MB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.4499, allocations: 4 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.45, allocations: 7.938 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.4501, allocations: 40.47 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006776/0.4508, allocations: 365.7 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.4534, allocations: 1.594 MB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.4539, allocations: 250.3 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.4541, allocations: 144.8 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.4541, allocations: 8 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4542, allocations: 34.56 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.4542, allocations: 0 / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001893/0.4561, allocations: 0.8996 MB / 1.34 GB, free: 3.996 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.4561, allocations: 55.41 kB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.4564, allocations: 259.6 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.4565, allocations: 33.7 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.4566, allocations: 184.4 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.4567, allocations: 95.2 kB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.4568, allocations: 77.64 kB / 1.34 GB, free: 3.266 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.457, allocations: 334.8 kB / 1.341 GB, free: 2.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.4573, allocations: 159.8 kB / 1.341 GB, free: 2.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.4576, allocations: 243 kB / 1.341 GB, free: 2.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.4583, allocations: 406.8 kB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4583, allocations: 4 kB / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001262/0.4595, allocations: 0.5936 MB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4596, allocations: 8 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.4596, allocations: 4 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007508/0.4603, allocations: 200.5 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.4607, allocations: 63.89 kB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.4638, allocations: 2.339 MB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.4642, allocations: 19.98 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.4642, allocations: 15.98 kB / 1.344 GB, free: 14.71 MB / 1.045 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.0002197/0.4644, allocations: 168.1 kB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.4645, allocations: 31.86 kB / 1.345 GB, free: 14.51 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006029/0.4651, allocations: 352.9 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4651, allocations: 4 kB / 1.345 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.4651, allocations: 0 / 1.345 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4651, allocations: 0 / 1.345 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.4662, allocations: 0.7065 MB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4662, allocations: 3.938 kB / 1.346 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.4666, allocations: 67.89 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.4666, allocations: 7.984 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.4667, allocations: 12.06 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4667, allocations: 0 / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4667, allocations: 0 / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.4675, allocations: 0.615 MB / 1.346 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.4676, allocations: 55.86 kB / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.4677, allocations: 4 kB / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.4679, allocations: 11.98 kB / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.468, allocations: 19.97 kB / 1.346 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.468, allocations: 4 kB / 1.346 GB, free: 12.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002307/0.4682, allocations: 180.1 kB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4682, allocations: 0 / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000443/0.4687, allocations: 92 kB / 1.347 GB, free: 12.32 MB / 1.045 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.0001886/0.4689, allocations: 115.1 kB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.4699, allocations: 0.5158 MB / 1.347 GB, free: 11.67 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4699, allocations: 0 / 1.347 GB, free: 11.67 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.4701, allocations: 141.5 kB / 1.347 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.4706, allocations: 58.75 kB / 1.348 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.4722, allocations: 0.845 MB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.4725, allocations: 185.8 kB / 1.349 GB, free: 10.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.4727, allocations: 74.22 kB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.4728, allocations: 23.42 kB / 1.349 GB, free: 10.31 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.4728, allocations: 0 / 1.349 GB, free: 10.31 MB / 1.045 GB Notification: Performance of Templates: time 0.009394/0.4822, allocations: 4.585 MB / 1.353 GB, free: 5.773 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.33854217499902]