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.0007732/0.0007732, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008262/0.0008262, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8697/0.8697, allocations: 177.1 MB / 203.5 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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 1.821/1.821, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.063e-05, allocations: 6.219 kB / 1.001 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001296/0.001316, allocations: 0.8429 MB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002465, allocations: 1.206 MB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.002528, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.002561, allocations: 11.88 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.118e-05/0.002642, allocations: 11.86 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.00307, allocations: 165.3 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.003235, allocations: 171.5 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.003364, allocations: 25.3 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.003478, allocations: 87.86 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.003562, allocations: 59.84 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.003585, allocations: 12 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.003642, allocations: 27.98 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.003668, allocations: 27.91 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.003724, allocations: 51.89 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.00394, allocations: 191.4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003942, allocations: 4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003943, allocations: 4 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003947, allocations: 0 / 1.004 GB, free: 10.01 MB / 0.9636 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.0005836/0.004531, allocations: 410 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.00457, allocations: 12.75 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.004619, allocations: 12.89 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.004947, allocations: 195.9 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.004961, allocations: 12.38 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.004988, allocations: 12.38 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.005143, allocations: 92.67 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.005154, allocations: 4.188 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.005168, allocations: 8.375 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005175, allocations: 4.125 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.868e-05/0.005274, allocations: 43.95 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.005736, allocations: 312.2 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/0.005811, allocations: 34.56 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.005857, allocations: 28.95 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.005876, allocations: 0 / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.006028, allocations: 95.3 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.006029, allocations: 0 / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002768/0.006305, allocations: 133.8 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.00634, allocations: 59.48 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.006428, allocations: 145.7 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.006449, allocations: 33.7 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.006507, allocations: 108 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.006526, allocations: 31.88 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.006579, allocations: 45.7 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.006661, allocations: 330.7 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.006767, allocations: 81.66 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.006898, allocations: 168.8 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.007079, allocations: 200.6 kB / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.007082, allocations: 0 / 1.006 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002984/0.00738, allocations: 268.9 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.007409, allocations: 41.69 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.007415, allocations: 4 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.007427, allocations: 4 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.007487, allocations: 23.92 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.007493, allocations: 4 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.007602, allocations: 48.03 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.007618, allocations: 12 kB / 1.007 GB, free: 6.75 MB / 0.9636 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 7.564e-05/0.007693, allocations: 137.7 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.007703, allocations: 7.953 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.007733, allocations: 12.81 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.007736, allocations: 4 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.00774, allocations: 0 / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007743, allocations: 0 / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.008058, allocations: 342 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00806, allocations: 0 / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.008115, allocations: 19.98 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.008117, allocations: 0 / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.008126, allocations: 0 / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008127, allocations: 0 / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.008127, allocations: 7.938 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.008352, allocations: 243.4 kB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.008365, allocations: 23.78 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.008377, allocations: 0 / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.008421, allocations: 12.03 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.008453, allocations: 7.984 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.00846, allocations: 7.938 kB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.008507, allocations: 105.3 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008507, allocations: 4 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001939/0.0087, allocations: 28 kB / 1.008 GB, free: 5.746 MB / 0.9636 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.0001091/0.00881, allocations: 107.2 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.009062, allocations: 196.9 kB / 1.008 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009063, allocations: 0 / 1.008 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/0.009126, allocations: 39.91 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.009324, allocations: 21.83 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.0097, allocations: 271.4 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.724e-05/0.009757, allocations: 97.66 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.009783, allocations: 20.5 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.009783, allocations: 0 / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of Templates: time 0.002416/0.0122, allocations: 1.79 MB / 1.01 GB, free: 3.152 MB / 0.9636 GB " [Timeout remaining time 300] 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: 6.709510399028659]