Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.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.001553/0.001553, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001892/0.001892, allocations: 212 kB / 23 MB, free: 4.934 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.577/1.577, 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.296/3.296, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.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.002222/0.002222, allocations: 71.42 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4004, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002163/0.4026, allocations: 0.8639 MB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.4042, allocations: 1.186 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.4043, allocations: 4 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.942e-05/0.4043, allocations: 11.81 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/0.4044, allocations: 15.86 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.4049, allocations: 156.4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.4052, allocations: 167.6 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.4053, allocations: 25.3 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.4054, allocations: 75.75 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.4055, allocations: 63.75 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.4056, allocations: 16 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.4056, allocations: 27.97 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.4057, allocations: 27.92 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.4057, allocations: 55.78 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.406, allocations: 171.3 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.406, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.406, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.406, allocations: 0 / 1.33 GB, free: 14.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007298/0.4067, allocations: 418 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4068, allocations: 12.03 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.4068, allocations: 16.83 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.4074, allocations: 192.1 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4074, allocations: 8.375 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.4074, allocations: 20.36 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.4077, allocations: 78.22 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4077, allocations: 3.938 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.4077, allocations: 11.98 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4077, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.4079, allocations: 55.89 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.4086, allocations: 300.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.4087, allocations: 42.48 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.4088, allocations: 24.97 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.4088, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.4091, allocations: 103.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4091, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004331/0.4095, allocations: 137.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4096, allocations: 59.34 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4097, allocations: 135.4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.4098, allocations: 37.69 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.4099, allocations: 112.1 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.4099, allocations: 27.81 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.41, allocations: 49.69 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4101, allocations: 330.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.4103, allocations: 77.66 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4106, allocations: 164.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.4109, allocations: 200.6 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4109, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000541/0.4114, allocations: 276.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.4115, allocations: 33.7 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4115, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4115, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.4116, allocations: 28.28 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4116, allocations: 8 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.4119, allocations: 47.86 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.4119, allocations: 15.92 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001197/0.412, allocations: 126.3 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.412, allocations: 15.91 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.4121, allocations: 8.719 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4121, allocations: 3.984 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4121, allocations: 4.047 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.4121, allocations: 19.88 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.4121, allocations: 4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.4122, allocations: 8.359 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.4122, allocations: 7.984 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003925/0.4126, allocations: 200.8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005104/0.4131, allocations: 338.5 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001147/0.4133, allocations: 35.95 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.217e-05/0.4133, allocations: 105 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of Backend: time 3.21e-07/0.4133, allocations: 0 / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007633/0.4141, allocations: 261.5 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009767/0.4151, allocations: 0.7069 MB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of Templates: time 0.005727/0.4208, allocations: 2.043 MB / 1.337 GB, free: 6.875 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.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.380674387000909]