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.001306/0.001306, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00142/0.00142, allocations: 193.3 kB / 22.17 MB, free: 5.652 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.445/1.445, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.884/2.884, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.002054/0.002054, allocations: 63.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.755, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002019/0.757, allocations: 0.8678 MB / 1.275 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.7585, allocations: 1.187 MB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.7586, allocations: 4 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.7586, allocations: 7.875 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.7587, allocations: 19.8 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.7592, allocations: 152.5 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.7594, allocations: 171.6 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.7595, allocations: 29.11 kB / 1.277 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.7596, allocations: 63.84 kB / 1.277 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.7598, allocations: 67.72 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.7598, allocations: 16 kB / 1.277 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.7599, allocations: 35.92 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.7599, allocations: 23.92 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.76, allocations: 67.69 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.7603, allocations: 166.1 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7603, allocations: 0 / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7603, allocations: 7.938 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.7603, allocations: 0 / 1.277 GB, free: 1.66 MB / 0.9669 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.000777/0.7611, allocations: 499.1 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.7611, allocations: 12.03 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.7612, allocations: 16.84 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.7617, allocations: 252.3 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.7617, allocations: 4.375 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.7618, allocations: 20.31 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.762, allocations: 97.16 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.762, allocations: 3.938 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.762, allocations: 0 / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.762, allocations: 0 / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.7622, allocations: 47.95 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.7629, allocations: 388.5 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.7631, allocations: 38.56 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.7632, allocations: 28.77 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.7632, allocations: 128 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.7634, allocations: 99.31 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.7634, allocations: 4 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004425/0.7638, allocations: 133.5 kB / 1.279 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.7639, allocations: 63.33 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.764, allocations: 144 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.764, allocations: 29.7 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.7641, allocations: 108.2 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.7641, allocations: 31.8 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.7642, allocations: 45.7 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7644, allocations: 322.8 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.7645, allocations: 47.95 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.7647, allocations: 136.9 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.7651, allocations: 208.6 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7651, allocations: 4 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005024/0.7656, allocations: 243.3 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.7656, allocations: 41.67 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7656, allocations: 4 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7656, allocations: 4 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.7658, allocations: 31.92 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.7658, allocations: 11.92 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.766, allocations: 31.92 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.766, allocations: 15.94 kB / 1.28 GB, free: 14.22 MB / 0.9825 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.0001209/0.7661, allocations: 141.7 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.7662, allocations: 7.953 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.7662, allocations: 12.72 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7662, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7662, allocations: 3.938 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7662, allocations: 3.984 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.7668, allocations: 386.5 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7668, allocations: 4 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-05/0.7669, allocations: 19.92 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.7669, allocations: 3.938 kB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.7669, allocations: 0 / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7669, allocations: 0 / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7669, allocations: 0 / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.7673, allocations: 251.3 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.7674, allocations: 89 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.7674, allocations: 0 / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.7675, allocations: 12.03 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.7675, allocations: 7.984 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.7676, allocations: 4 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.356e-05/0.7676, allocations: 109 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7676, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002859/0.7679, allocations: 40.08 kB / 1.281 GB, free: 13.05 MB / 0.9825 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.0001638/0.7681, allocations: 111.9 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.7685, allocations: 179.1 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7685, allocations: 0.75 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.7686, allocations: 35.98 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.7689, allocations: 19.97 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.7694, allocations: 284.3 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.7698, allocations: 0.7084 MB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.7698, allocations: 16.64 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.7698, allocations: 19.44 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.7698, allocations: 0 / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.004755/0.7746, allocations: 1.665 MB / 1.284 GB, free: 9.973 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.64573187706992]