Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001581/0.001581, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001695/0.001695, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0.875 kB / 0.8109 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.691e-05, allocations: 3.016 kB / 0.8109 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002445/0.002481, allocations: 0.8386 MB / 0.8117 GB, free: 40 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.004735, allocations: 1.212 MB / 0.8129 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.004819, allocations: 4 kB / 0.8129 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.004862, allocations: 8.719 kB / 0.8129 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.004967, allocations: 20.36 kB / 0.8129 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.005571, allocations: 148.3 kB / 0.8131 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.00589, allocations: 175.6 kB / 0.8132 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.006038, allocations: 22.2 kB / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.006261, allocations: 95.84 kB / 0.8133 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.006407, allocations: 56.5 kB / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.006459, allocations: 12 kB / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.614e-05/0.006546, allocations: 24.88 kB / 0.8134 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.006599, allocations: 31.89 kB / 0.8135 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.006694, allocations: 48.8 kB / 0.8135 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.007041, allocations: 191.4 kB / 0.8137 GB, free: 14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.007044, allocations: 0 / 0.8137 GB, free: 14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.007045, allocations: 1.688 kB / 0.8137 GB, free: 14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.007051, allocations: 0 / 0.8137 GB, free: 14 MB / 0.7292 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.0009523/0.008003, allocations: 414 kB / 0.8141 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.008058, allocations: 13.56 kB / 0.8141 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.008162, allocations: 24.84 kB / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.008768, allocations: 186.8 kB / 0.8143 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.008791, allocations: 8.375 kB / 0.8143 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.008848, allocations: 21.8 kB / 0.8143 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.009115, allocations: 90.14 kB / 0.8144 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.009125, allocations: 192 / 0.8144 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.009141, allocations: 4.906 kB / 0.8144 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.009151, allocations: 4.844 kB / 0.8144 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.009366, allocations: 48.45 kB / 0.8145 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008056/0.01017, allocations: 313.8 kB / 0.8148 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.01032, allocations: 34.56 kB / 0.8148 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.01043, allocations: 25.45 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.01045, allocations: 0.7812 kB / 0.8148 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.01075, allocations: 104.6 kB / 0.8149 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.01075, allocations: 0 / 0.8149 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0005202/0.01127, allocations: 135.6 kB / 0.8151 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.01133, allocations: 63.33 kB / 0.8151 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.0115, allocations: 144 kB / 0.8153 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.01154, allocations: 31.45 kB / 0.8153 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01165, allocations: 104.1 kB / 0.8154 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.01169, allocations: 35.86 kB / 0.8154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.01179, allocations: 45.7 kB / 0.8155 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.012, allocations: 329 kB / 0.8158 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.01223, allocations: 81.56 kB / 0.8158 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.01253, allocations: 168.8 kB / 0.816 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004205/0.01295, allocations: 201 kB / 0.8162 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.01295, allocations: 0 / 0.8162 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006633/0.01362, allocations: 284.2 kB / 0.8165 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.01368, allocations: 37.69 kB / 0.8165 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.01369, allocations: 2.281 kB / 0.8165 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.01371, allocations: 4 kB / 0.8165 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.01384, allocations: 27.92 kB / 0.8165 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.01385, allocations: 4 kB / 0.8165 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.01412, allocations: 44.66 kB / 0.8166 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.01416, allocations: 12.94 kB / 0.8166 GB, free: 10.73 MB / 0.7292 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.0001561/0.01432, allocations: 135.4 kB / 0.8167 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.01435, allocations: 13.17 kB / 0.8167 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.0144, allocations: 16.78 kB / 0.8168 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.0144, allocations: 0 / 0.8168 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.01441, allocations: 4.969 kB / 0.8168 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01441, allocations: 0 / 0.8168 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.01533, allocations: 338.9 kB / 0.8171 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.01533, allocations: 5.062 kB / 0.8171 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.01543, allocations: 15.92 kB / 0.8171 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01543, allocations: 1.031 kB / 0.8171 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.01545, allocations: 4 kB / 0.8171 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01545, allocations: 0 / 0.8171 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01545, allocations: 1.125 kB / 0.8171 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.01599, allocations: 256.7 kB / 0.8174 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.01601, allocations: 7.891 kB / 0.8174 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.01603, allocations: 5.031 kB / 0.8174 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.01615, allocations: 12.03 kB / 0.8174 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.01619, allocations: 11.92 kB / 0.8174 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01621, allocations: 4.531 kB / 0.8174 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.894e-05/0.0163, allocations: 115.2 kB / 0.8175 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.0163, allocations: 0 / 0.8175 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003169/0.01662, allocations: 28 kB / 0.8175 GB, free: 9.727 MB / 0.7292 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.0001937/0.01681, allocations: 108.4 kB / 0.8176 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.0173, allocations: 198.6 kB / 0.8178 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.0173, allocations: 3.344 kB / 0.8178 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.01743, allocations: 35.91 kB / 0.8179 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01776, allocations: 27.97 kB / 0.8179 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.01839, allocations: 244.9 kB / 0.8181 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.0185, allocations: 95.22 kB / 0.8182 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.461e-05/0.01858, allocations: 19.2 kB / 0.8182 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.01862, allocations: 20.5 kB / 0.8183 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of SimCode: time 8.01e-07/0.01862, allocations: 0 / 0.8183 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of Templates: time 0.00678/0.0254, allocations: 1.758 MB / 0.82 GB, free: 7.23 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.858151827007532]