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.000894/0.000894, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001/0.001, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9711/0.9711, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 2.094/2.094, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.802e-05, allocations: 3.625 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001619/0.001647, allocations: 0.8969 MB / 0.8791 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003116, allocations: 1.218 MB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.003175, allocations: 0 / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.003215, allocations: 8.531 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.003304, allocations: 23.48 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.003749, allocations: 147.5 kB / 0.8805 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.003924, allocations: 175.6 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.004054, allocations: 25.28 kB / 0.8807 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.004186, allocations: 99.78 kB / 0.8808 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.984e-05/0.004286, allocations: 55.84 kB / 0.8808 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.004314, allocations: 12 kB / 0.8808 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.004384, allocations: 28 kB / 0.8809 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.004413, allocations: 23.91 kB / 0.8809 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.00448, allocations: 49.77 kB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.004676, allocations: 135.6 kB / 0.8811 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004678, allocations: 0 / 0.8811 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004679, allocations: 0 / 0.8811 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.004683, allocations: 3.938 kB / 0.8811 GB, free: 3.383 MB / 0.8386 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.0005959/0.005279, allocations: 0.5096 MB / 0.8816 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.005324, allocations: 13.62 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.005386, allocations: 20.84 kB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.005716, allocations: 181.6 kB / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.005731, allocations: 10.84 kB / 0.8818 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.005769, allocations: 20.3 kB / 0.8818 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.00592, allocations: 82.92 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.005929, allocations: 192 / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.005943, allocations: 8.375 kB / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.005952, allocations: 4.125 kB / 0.8819 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.005988, allocations: 18.05 kB / 0.8819 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.006521, allocations: 367.4 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/0.006578, allocations: 31.06 kB / 0.8823 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.006602, allocations: 15.67 kB / 0.8823 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.006621, allocations: 0.7188 kB / 0.8823 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.006733, allocations: 86.75 kB / 0.8824 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.006735, allocations: 0 / 0.8824 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002016/0.006937, allocations: 105.5 kB / 0.8825 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.006966, allocations: 51.41 kB / 0.8825 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.007074, allocations: 200.8 kB / 0.8827 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.007101, allocations: 33.7 kB / 0.8828 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.007166, allocations: 154.8 kB / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.007187, allocations: 35.8 kB / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.007247, allocations: 47.36 kB / 0.883 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.007359, allocations: 0.5 MB / 0.8835 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.007436, allocations: 61.67 kB / 0.8835 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.007553, allocations: 193.5 kB / 0.8837 GB, free: 396 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.007703, allocations: 209.5 kB / 0.8839 GB, free: 124 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007705, allocations: 0 / 0.8839 GB, free: 124 kB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002648/0.00797, allocations: 252.8 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.008004, allocations: 41.69 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.008011, allocations: 4 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.00803, allocations: 4 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.008103, allocations: 23.92 kB / 0.8842 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.008111, allocations: 7.938 kB / 0.8842 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.008203, allocations: 27.97 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.00822, allocations: 12.25 kB / 0.8843 GB, free: 15.73 MB / 0.8542 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.505e-05/0.008305, allocations: 183.8 kB / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.008321, allocations: 19.89 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.008358, allocations: 12.78 kB / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.008361, allocations: 4 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.008365, allocations: 0 / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.00837, allocations: 0 / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.008669, allocations: 365.3 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008671, allocations: 0 / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.008715, allocations: 11.94 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008717, allocations: 4 kB / 0.8848 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.00873, allocations: 7.984 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008732, allocations: 0 / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008732, allocations: 0 / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.008908, allocations: 260.1 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.00892, allocations: 15.94 kB / 0.8851 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.008933, allocations: 96 / 0.8851 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.008972, allocations: 4 kB / 0.8851 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.009015, allocations: 11.97 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.009022, allocations: 7.938 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.009082, allocations: 153 kB / 0.8853 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.01e-07/0.009082, allocations: 0 / 0.8853 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001951/0.009277, allocations: 35.89 kB / 0.8853 GB, free: 14.59 MB / 0.8542 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.0001324/0.009409, allocations: 107.2 kB / 0.8854 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.00963, allocations: 184.5 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009632, allocations: 0.75 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.009672, allocations: 27.67 kB / 0.8856 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.009894, allocations: 27.92 kB / 0.8856 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.01034, allocations: 250.4 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.01038, allocations: 67.78 kB / 0.886 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.01042, allocations: 16.64 kB / 0.886 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.01046, allocations: 20.5 kB / 0.886 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.01046, allocations: 0 / 0.886 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.003892/0.01435, allocations: 1.758 MB / 0.8877 GB, free: 12.09 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.591249005869031]