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.002024/0.002024, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002841/0.002841, allocations: 207.7 kB / 23.03 MB, free: 4.863 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.193/3.193, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002066/0.002066, allocations: 67.33 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4143, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006993/0.4213, allocations: 3.231 MB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004385/0.4257, allocations: 1.995 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.4261, allocations: 7.938 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.4272, allocations: 286.8 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007246/0.4279, allocations: 239 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.4288, allocations: 283.3 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.4294, allocations: 410.7 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.4297, allocations: 180.2 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003174/0.4301, allocations: 175.4 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.4305, allocations: 207.2 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.4305, allocations: 24 kB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.431, allocations: 239.5 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.4312, allocations: 123.7 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.4313, allocations: 119.5 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006928/0.432, allocations: 0.4942 MB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.432, allocations: 0 / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.432, allocations: 0 / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.432, allocations: 4 kB / 1.335 GB, free: 8.977 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.001167/0.4332, allocations: 0.5245 MB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4332, allocations: 8.031 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009742/0.4342, allocations: 116.6 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.4346, allocations: 228.3 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.4346, allocations: 24.81 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4348, allocations: 32.73 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.4356, allocations: 0.518 MB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.4356, allocations: 4 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.4357, allocations: 11.98 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.4358, allocations: 44.41 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.4365, allocations: 369.7 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.4389, allocations: 1.594 MB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.4394, allocations: 242.4 kB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4396, allocations: 144.8 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.4396, allocations: 4 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.4396, allocations: 30.56 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/0.4397, allocations: 0 / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001803/0.4415, allocations: 0.9054 MB / 1.34 GB, free: 3.973 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.4415, allocations: 55.41 kB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.4418, allocations: 251.6 kB / 1.34 GB, free: 3.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.4419, allocations: 37.69 kB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.442, allocations: 184.4 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.4421, allocations: 95.16 kB / 1.34 GB, free: 3.328 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.4422, allocations: 77.64 kB / 1.34 GB, free: 3.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4424, allocations: 330.8 kB / 1.341 GB, free: 2.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.4427, allocations: 163.9 kB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.443, allocations: 239.1 kB / 1.341 GB, free: 2.484 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.4436, allocations: 406.8 kB / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4436, allocations: 0 / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001183/0.4448, allocations: 0.5973 MB / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4448, allocations: 8 kB / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4448, allocations: 4 kB / 1.342 GB, free: 1.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006754/0.4455, allocations: 188.8 kB / 1.342 GB, free: 1.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.4458, allocations: 67.89 kB / 1.342 GB, free: 1.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.4489, allocations: 2.347 MB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.4492, allocations: 23.92 kB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.4493, allocations: 20.05 kB / 1.345 GB, free: 14.69 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.0002299/0.4495, allocations: 170.2 kB / 1.345 GB, free: 14.51 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.4496, allocations: 27.8 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.4501, allocations: 353.7 kB / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4502, allocations: 4 kB / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.4502, allocations: 0 / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4502, allocations: 0 / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.4512, allocations: 0.704 MB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4512, allocations: 8 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.4516, allocations: 75.88 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4516, allocations: 4 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.4516, allocations: 11.98 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4516, allocations: 0 / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4516, allocations: 0 / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.4524, allocations: 0.6104 MB / 1.346 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4525, allocations: 47.88 kB / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4525, allocations: 7.984 kB / 1.346 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4528, allocations: 19.98 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.4528, allocations: 15.97 kB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4528, allocations: 8 kB / 1.347 GB, free: 12.56 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002246/0.4531, allocations: 176 kB / 1.347 GB, free: 12.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4531, allocations: 4 kB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004399/0.4535, allocations: 84 kB / 1.347 GB, free: 12.3 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.0001803/0.4537, allocations: 111.2 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009801/0.4547, allocations: 0.5167 MB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4547, allocations: 0 / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.4549, allocations: 143.8 kB / 1.348 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.4553, allocations: 50.52 kB / 1.348 GB, free: 11.47 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.4569, allocations: 0.8892 MB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.4571, allocations: 189.8 kB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.4572, allocations: 27.42 kB / 1.349 GB, free: 10.31 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.4572, allocations: 0 / 1.349 GB, free: 10.31 MB / 1.045 GB Notification: Performance of Templates: time 0.007709/0.4649, allocations: 4.604 MB / 1.353 GB, free: 5.711 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 -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: 12.543597632087767]