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.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.001155/0.001155, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001479/0.001479, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9957/0.9957, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.825/1.825, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 2.284e-06/2.284e-06, allocations: 0 / 0.7872 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.158e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001505/0.001527, allocations: 0.8702 MB / 0.788 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.002966, allocations: 1.219 MB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.003043, allocations: 4 kB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.003079, allocations: 7.875 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.003162, allocations: 15.8 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.003651, allocations: 157 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.003845, allocations: 167.6 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.003971, allocations: 30.41 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004103, allocations: 91.86 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.004194, allocations: 55.84 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.004225, allocations: 17.06 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.004295, allocations: 27.92 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.004326, allocations: 23.91 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.004391, allocations: 53.45 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.004578, allocations: 135.6 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004581, allocations: 0 / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.262e-06/0.004582, allocations: 0 / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.004587, allocations: 1.844 kB / 0.79 GB, free: 9.836 MB / 0.7448 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.0006216/0.005208, allocations: 0.5086 MB / 0.7905 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.005259, allocations: 8.031 kB / 0.7905 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.005334, allocations: 20.89 kB / 0.7905 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.005687, allocations: 190.8 kB / 0.7907 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.005704, allocations: 8.375 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.005744, allocations: 16.36 kB / 0.7907 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.005935, allocations: 86.92 kB / 0.7908 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.005949, allocations: 4.188 kB / 0.7908 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.005963, allocations: 1 kB / 0.7908 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.005976, allocations: 5.781 kB / 0.7908 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.00602, allocations: 19.98 kB / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.006685, allocations: 367.4 kB / 0.7912 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.028e-05/0.006755, allocations: 28.81 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.006789, allocations: 19.61 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.006816, allocations: 7.938 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.006961, allocations: 81.88 kB / 0.7913 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.006963, allocations: 0 / 0.7913 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002531/0.007216, allocations: 98.31 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.007259, allocations: 59.39 kB / 0.7915 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.007389, allocations: 201.5 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.007411, allocations: 29.7 kB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.007492, allocations: 166.8 kB / 0.7918 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.007513, allocations: 27.8 kB / 0.7919 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.007576, allocations: 57.59 kB / 0.7919 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004457/0.008022, allocations: 0.4922 MB / 0.7924 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.008114, allocations: 61.69 kB / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.008248, allocations: 194.4 kB / 0.7926 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.008423, allocations: 208.9 kB / 0.7928 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.008426, allocations: 1.312 kB / 0.7928 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003083/0.008735, allocations: 255.2 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.008776, allocations: 33.7 kB / 0.7931 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.008785, allocations: 4 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.008805, allocations: 4.906 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.008882, allocations: 23.92 kB / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.008892, allocations: 4.844 kB / 0.7931 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.008994, allocations: 37.14 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.009013, allocations: 12 kB / 0.7932 GB, free: 6.188 MB / 0.7448 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.0001188/0.009132, allocations: 168.5 kB / 0.7934 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.009155, allocations: 20.56 kB / 0.7934 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.009193, allocations: 13.62 kB / 0.7934 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009196, allocations: 0 / 0.7934 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.009202, allocations: 1.594 kB / 0.7934 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.009207, allocations: 0 / 0.7934 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.009608, allocations: 373.2 kB / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.00961, allocations: 0 / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.009664, allocations: 12.94 kB / 0.7938 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.009668, allocations: 4 kB / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.009684, allocations: 3.984 kB / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.009686, allocations: 3.406 kB / 0.7938 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.009688, allocations: 3.938 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.009899, allocations: 251.8 kB / 0.794 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.009912, allocations: 15.98 kB / 0.794 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.009928, allocations: 0 / 0.794 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.009969, allocations: 11.98 kB / 0.794 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.01001, allocations: 7.984 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-06/0.01002, allocations: 11.92 kB / 0.7941 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.01009, allocations: 141.9 kB / 0.7942 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01009, allocations: 1.938 kB / 0.7942 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002223/0.01031, allocations: 31.94 kB / 0.7942 GB, free: 5.074 MB / 0.7448 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.000147/0.01046, allocations: 111.2 kB / 0.7943 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.0107, allocations: 184.1 kB / 0.7945 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.0107, allocations: 0 / 0.7945 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.01074, allocations: 31.61 kB / 0.7945 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.01095, allocations: 23.98 kB / 0.7946 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.01141, allocations: 245 kB / 0.7948 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.686e-05/0.01145, allocations: 71.78 kB / 0.7949 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.0115, allocations: 15.83 kB / 0.7949 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.01153, allocations: 12.5 kB / 0.7949 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/0.01153, allocations: 1.062 kB / 0.7949 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.004077/0.01561, allocations: 1.76 MB / 0.7966 GB, free: 2.602 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] 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","",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.415103938896209]