Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.986/2.986, allocations: 476.7 MB / 0.7629 GB, free: 15.35 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002906, allocations: 67.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317/1.32, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.003168/1.323, allocations: 0.8877 MB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002218/1.326, allocations: 1.184 MB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/1.326, allocations: 0.875 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.381e-05/1.326, allocations: 7.875 kB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/1.326, allocations: 20.61 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008354/1.327, allocations: 157.3 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003913/1.327, allocations: 168.9 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/1.327, allocations: 35.34 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/1.328, allocations: 61.22 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/1.328, allocations: 72.19 kB / 1.275 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/1.328, allocations: 14.53 kB / 1.275 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/1.328, allocations: 28.84 kB / 1.275 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/1.328, allocations: 21.98 kB / 1.275 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/1.328, allocations: 68.97 kB / 1.275 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/1.328, allocations: 174.4 kB / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.328, allocations: 0 / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.328, allocations: 0 / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.328, allocations: 4 kB / 1.275 GB, free: 6.105 MB / 0.9981 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.0007128/1.329, allocations: 455.6 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.329, allocations: 13.78 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/1.329, allocations: 17.38 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/1.33, allocations: 251.5 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/1.33, allocations: 12.25 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/1.33, allocations: 17.73 kB / 1.276 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/1.33, allocations: 95.11 kB / 1.276 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.33, allocations: 3.938 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.33, allocations: 1.719 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.33, allocations: 1.594 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/1.33, allocations: 45.81 kB / 1.276 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/1.331, allocations: 389.6 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/1.331, allocations: 35.66 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/1.331, allocations: 22.09 kB / 1.276 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/1.331, allocations: 4.938 kB / 1.276 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/1.331, allocations: 104.5 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/1.331, allocations: 1.062 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004489/1.332, allocations: 133.4 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/1.332, allocations: 58.38 kB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/1.332, allocations: 151 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/1.332, allocations: 28.52 kB / 1.277 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/1.332, allocations: 109.4 kB / 1.277 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/1.332, allocations: 27.05 kB / 1.277 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/1.332, allocations: 46.22 kB / 1.277 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.781e-05/1.332, allocations: 322.3 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/1.332, allocations: 49.86 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/1.333, allocations: 130 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/1.333, allocations: 204.8 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.333, allocations: 1.031 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004924/1.333, allocations: 253.4 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/1.333, allocations: 35.2 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.333, allocations: 3.469 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.333, allocations: 3.969 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.334, allocations: 31.33 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.334, allocations: 12.25 kB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/1.334, allocations: 43.91 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/1.334, allocations: 15.12 kB / 1.278 GB, free: 3.688 MB / 0.9981 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 8.786e-05/1.334, allocations: 129 kB / 1.278 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/1.334, allocations: 14.42 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/1.334, allocations: 10.88 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.334, allocations: 4.906 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.334, allocations: 3.938 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.334, allocations: 4.844 kB / 1.278 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/1.335, allocations: 391.8 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.335, allocations: 4 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.118e-05/1.335, allocations: 12.5 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.335, allocations: 4.875 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.335, allocations: 1.5 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.335, allocations: 1.641 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.335, allocations: 0.9375 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/1.335, allocations: 254.3 kB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/1.335, allocations: 88.25 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/1.335, allocations: 1.719 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/1.335, allocations: 11.23 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/1.335, allocations: 10.16 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/1.335, allocations: 4.719 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.899e-05/1.335, allocations: 110.8 kB / 1.279 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.335, allocations: 0 / 1.279 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002939/1.336, allocations: 36.11 kB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.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.0002057/1.336, allocations: 111.3 kB / 1.279 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004107/1.336, allocations: 173.3 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.336, allocations: 1 kB / 1.279 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/1.336, allocations: 34.42 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/1.337, allocations: 18.89 kB / 1.279 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/1.337, allocations: 285.2 kB / 1.279 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/1.338, allocations: 0.7094 MB / 1.28 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.242e-05/1.338, allocations: 15.62 kB / 1.28 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/1.338, allocations: 14.81 kB / 1.28 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.338, allocations: 1.031 kB / 1.28 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of Templates: time 0.00701/1.345, allocations: 1.678 MB / 1.282 GB, free: 1.539 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.115944443270564]