Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001432/0.001432, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001641/0.001641, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.789 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.556/3.556, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.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_latest_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_latest_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.00213/0.00213, allocations: 65.19 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.4942, allocations: 181.9 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.003104/0.4973, allocations: 0.8608 MB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002458/0.4998, allocations: 1.191 MB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.4999, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.644e-05/0.5, allocations: 7.875 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.5001, allocations: 19.8 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.5008, allocations: 156.5 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.5012, allocations: 167.6 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.5014, allocations: 21.3 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.5015, allocations: 75.81 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.5017, allocations: 55.75 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.5017, allocations: 16 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.5018, allocations: 27.98 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.5019, allocations: 27.84 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.502, allocations: 63.77 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.5023, allocations: 163.4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5024, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.386e-06/0.5024, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.5024, allocations: 0 / 1.367 GB, free: 10.63 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001043/0.5034, allocations: 418.1 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.5035, allocations: 11.97 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.5036, allocations: 20.84 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00063/0.5042, allocations: 186.4 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.5042, allocations: 8.375 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.5043, allocations: 20.33 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.5045, allocations: 90.2 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5046, allocations: 7.875 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.5046, allocations: 0 / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.5046, allocations: 4 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.5048, allocations: 47.95 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.5057, allocations: 312.2 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.5058, allocations: 38.56 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.5059, allocations: 20.84 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.506, allocations: 7.938 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003865/0.5063, allocations: 99.42 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.5063, allocations: 0 / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0005314/0.5069, allocations: 133.5 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.5069, allocations: 59.41 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.5072, allocations: 151.9 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.5072, allocations: 29.7 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5073, allocations: 108.2 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.5073, allocations: 27.8 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.5074, allocations: 49.69 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5076, allocations: 322.8 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.5078, allocations: 77.66 kB / 1.369 GB, free: 8.238 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.5081, allocations: 167.4 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.5085, allocations: 204.6 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5085, allocations: 4 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005635/0.509, allocations: 273.3 kB / 1.369 GB, free: 7.496 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.5091, allocations: 37.77 kB / 1.369 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5091, allocations: 4 kB / 1.369 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.5092, allocations: 4 kB / 1.369 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.5093, allocations: 35.84 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.5093, allocations: 4 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.5095, allocations: 35.86 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.5095, allocations: 15.98 kB / 1.37 GB, free: 7.355 MB / 1.061 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.0001857/0.5097, allocations: 134.4 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.5098, allocations: 11.95 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.5098, allocations: 20.7 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5098, allocations: 0 / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5098, allocations: 4 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5098, allocations: 3.938 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.5104, allocations: 334 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5104, allocations: 0 / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.5105, allocations: 19.94 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5105, allocations: 3.984 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.5105, allocations: 0 / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5105, allocations: 3.938 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5105, allocations: 0 / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.511, allocations: 235.4 kB / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.511, allocations: 11.98 kB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.511, allocations: 4 kB / 1.37 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.5111, allocations: 15.94 kB / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.5112, allocations: 7.969 kB / 1.37 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5112, allocations: 4 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.676e-05/0.5113, allocations: 108.9 kB / 1.37 GB, free: 6.387 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.5113, allocations: 0 / 1.37 GB, free: 6.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002947/0.5116, allocations: 31.94 kB / 1.37 GB, free: 6.355 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002261/0.5118, allocations: 111.2 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.5123, allocations: 205 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5123, allocations: 4 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.5124, allocations: 27.98 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.5127, allocations: 19.98 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.5134, allocations: 265.5 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.569e-05/0.5135, allocations: 97.61 kB / 1.371 GB, free: 5.566 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.327e-05/0.5136, allocations: 16.64 kB / 1.371 GB, free: 5.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.5136, allocations: 15.44 kB / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.5136, allocations: 0 / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of Templates: time 0.005608/0.5192, allocations: 1.838 MB / 1.373 GB, free: 3.742 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.976321181282401]