Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.001761/0.001761, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.002199/0.002199, allocations: 207.9 kB / 23 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.69/1.69, 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.281/3.281, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intWitRes1.y_start|intWitRes1.y_reset|intWitRes1.y|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in|intNoReset.y_start|intNoReset.y|intDef.y_start|intDef.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset") [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.002076/0.002076, allocations: 65.81 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4112, allocations: 176.1 MB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003321/0.4146, allocations: 1.783 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4158, allocations: 0.5455 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.4159, allocations: 11.94 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.416, allocations: 27.67 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.436e-05/0.4161, allocations: 31.72 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.4163, allocations: 63.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.4166, allocations: 167.5 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.4167, allocations: 45.7 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.4168, allocations: 47.8 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.4169, allocations: 59.64 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.4169, allocations: 12 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.4169, allocations: 16 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.417, allocations: 27.86 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.897e-05/0.417, allocations: 55.7 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.4172, allocations: 139.2 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4172, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4172, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.4173, allocations: 0 / 1.33 GB, free: 14.07 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008086/0.4181, allocations: 427.1 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4181, allocations: 19.97 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.4182, allocations: 16.84 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.4185, allocations: 178.7 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4185, allocations: 12.36 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.4186, allocations: 16.38 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.4189, allocations: 152.2 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4189, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.419, allocations: 12 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.419, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.4192, allocations: 67.88 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.4202, allocations: 0.657 MB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.4204, allocations: 42.55 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.4205, allocations: 32.84 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.4205, allocations: 3.984 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.4208, allocations: 126.7 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.4208, allocations: 3.938 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0005378/0.4213, allocations: 165.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.031e-05/0.4214, allocations: 132.5 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.4216, allocations: 194.3 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4216, allocations: 29.7 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4218, allocations: 131.9 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.4218, allocations: 39.91 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.4219, allocations: 37.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4221, allocations: 326.8 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.4222, allocations: 39.97 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.4224, allocations: 147.6 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.4228, allocations: 206.3 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4228, allocations: 3.938 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000447/0.4232, allocations: 209.1 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4233, allocations: 8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4233, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4233, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4234, allocations: 31.92 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.4234, allocations: 4.5 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4236, allocations: 27.94 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.4236, allocations: 12 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 prepare postOptimizeDAE: time 0.0001348/0.4238, allocations: 141.6 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.4238, allocations: 15.91 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.4238, allocations: 17.41 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4238, allocations: 3.984 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4238, allocations: 4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.4239, allocations: 15.84 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.4239, allocations: 8 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.424, allocations: 11.98 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.4241, allocations: 23.91 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006773/0.4248, allocations: 458.8 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006716/0.4254, allocations: 0.5902 MB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001389/0.4256, allocations: 44.39 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001258/0.4257, allocations: 136.3 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of Backend: time 6.71e-07/0.4257, allocations: 0 / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000769/0.4265, allocations: 154.5 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of SimCode: time 0.0011/0.4276, allocations: 0.8255 MB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of Templates: time 0.007205/0.4348, allocations: 2.648 MB / 1.338 GB, free: 5.152 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.693110397995042]