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.00149/0.00149, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001506/0.001506, allocations: 185 kB / 24.09 MB, free: 420 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 1.018/1.018, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.926/1.926, allocations: 377.9 MB / 0.6239 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.713e-06/1.713e-06, allocations: 0 / 0.8121 GB, free: 244 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.418e-05, allocations: 3.375 kB / 0.8121 GB, free: 240 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001619/0.001644, allocations: 0.8604 MB / 0.8129 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.003007, allocations: 1.227 MB / 0.8141 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.003089, allocations: 4 kB / 0.8141 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.003126, allocations: 7.875 kB / 0.8141 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.774e-05/0.003224, allocations: 23.72 kB / 0.8141 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.003687, allocations: 148.6 kB / 0.8143 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.003878, allocations: 168.5 kB / 0.8145 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.003994, allocations: 29.14 kB / 0.8145 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.004145, allocations: 107.8 kB / 0.8146 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.004253, allocations: 49.2 kB / 0.8146 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.004278, allocations: 12 kB / 0.8146 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.387e-05/0.004342, allocations: 21.53 kB / 0.8147 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.004369, allocations: 23.92 kB / 0.8147 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.004414, allocations: 43.89 kB / 0.8147 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.004575, allocations: 123.5 kB / 0.8148 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004577, allocations: 1.688 kB / 0.8148 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004578, allocations: 0 / 0.8148 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.004583, allocations: 0 / 0.8148 GB, free: 13.41 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.000541/0.005124, allocations: 0.5134 MB / 0.8153 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.005161, allocations: 12.02 kB / 0.8154 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.005207, allocations: 25.38 kB / 0.8154 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005353, allocations: 156.4 kB / 0.8155 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.005366, allocations: 12.98 kB / 0.8155 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.005391, allocations: 16.89 kB / 0.8156 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.005524, allocations: 85.69 kB / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.005531, allocations: 192 / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.005539, allocations: 384 / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005545, allocations: 4.375 kB / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.00557, allocations: 16.45 kB / 0.8157 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.006026, allocations: 341.5 kB / 0.816 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.764e-05/0.006073, allocations: 34.98 kB / 0.816 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.885e-05/0.006092, allocations: 16.97 kB / 0.816 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.006113, allocations: 4 kB / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.942e-05/0.006212, allocations: 85.94 kB / 0.8161 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.006214, allocations: 0 / 0.8161 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001775/0.006392, allocations: 98.39 kB / 0.8162 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.006423, allocations: 55.41 kB / 0.8163 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.006522, allocations: 200.6 kB / 0.8165 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.006542, allocations: 34.53 kB / 0.8165 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.006608, allocations: 154.9 kB / 0.8166 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.006626, allocations: 25.09 kB / 0.8167 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.006688, allocations: 63.27 kB / 0.8167 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.006826, allocations: 0.4962 MB / 0.8172 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.006893, allocations: 58.42 kB / 0.8173 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.006993, allocations: 177.5 kB / 0.8174 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.007135, allocations: 205.4 kB / 0.8176 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007137, allocations: 2.812 kB / 0.8176 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002198/0.007357, allocations: 245.1 kB / 0.8179 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.007389, allocations: 37.69 kB / 0.8179 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.007394, allocations: 4.531 kB / 0.8179 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.007405, allocations: 5.938 kB / 0.8179 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.00747, allocations: 23.92 kB / 0.8179 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007475, allocations: 4 kB / 0.8179 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/0.007569, allocations: 31.92 kB / 0.818 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.007583, allocations: 12.91 kB / 0.818 GB, free: 9.855 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 8.111e-05/0.007664, allocations: 177 kB / 0.8182 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.007681, allocations: 15.94 kB / 0.8182 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.007711, allocations: 13.44 kB / 0.8182 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007714, allocations: 2.812 kB / 0.8182 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.007716, allocations: 0 / 0.8182 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.007719, allocations: 0 / 0.8182 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.007996, allocations: 341.9 kB / 0.8185 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007997, allocations: 0 / 0.8185 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.008042, allocations: 15.98 kB / 0.8185 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008045, allocations: 4 kB / 0.8185 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.008053, allocations: 2.719 kB / 0.8185 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008054, allocations: 0 / 0.8185 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008055, allocations: 3.938 kB / 0.8185 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.008217, allocations: 251.7 kB / 0.8188 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.008226, allocations: 3.953 kB / 0.8188 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.008239, allocations: 8 kB / 0.8188 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/0.008276, allocations: 0 / 0.8188 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.008307, allocations: 13 kB / 0.8188 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.008315, allocations: 11.98 kB / 0.8188 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.00836, allocations: 143.1 kB / 0.8189 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00836, allocations: 1.062 kB / 0.8189 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001987/0.008559, allocations: 31.94 kB / 0.819 GB, free: 8.777 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.0001221/0.008681, allocations: 107.3 kB / 0.8191 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.008852, allocations: 178.8 kB / 0.8193 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.008854, allocations: 0 / 0.8193 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.008886, allocations: 29.27 kB / 0.8193 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.009089, allocations: 29.33 kB / 0.8193 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.009449, allocations: 253 kB / 0.8195 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.009486, allocations: 71.83 kB / 0.8196 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.009527, allocations: 12.41 kB / 0.8196 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.009616, allocations: 102.2 kB / 0.8197 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.009616, allocations: 2.719 kB / 0.8197 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of Templates: time 0.00377/0.01339, allocations: 1.909 MB / 0.8216 GB, free: 6.082 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] 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","",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.049850627314299]