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.00117/0.00117, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001139/0.001139, 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.9803/0.9803, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.955/1.955, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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.254e-06/2.254e-06, allocations: 0 / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.442e-05, allocations: 9.469 kB / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001842/0.001867, allocations: 0.8771 MB / 0.8125 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003225, allocations: 1.218 MB / 0.8136 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.003299, allocations: 4 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.003339, allocations: 12.98 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.186e-05/0.00343, allocations: 15.7 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.003955, allocations: 158.5 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.004169, allocations: 167.6 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.004304, allocations: 21.3 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.004454, allocations: 95.84 kB / 0.8141 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.758e-05/0.004551, allocations: 51.86 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.004579, allocations: 16 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.004648, allocations: 24.89 kB / 0.8142 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.004683, allocations: 27.91 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.004749, allocations: 51.89 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.004982, allocations: 136.5 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.004987, allocations: 3.984 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.004989, allocations: 0 / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.004994, allocations: 1.344 kB / 0.8144 GB, free: 15.14 MB / 0.7761 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.000604/0.005598, allocations: 0.5086 MB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.005641, allocations: 9.969 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.00571, allocations: 20.89 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.006034, allocations: 184.5 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.00605, allocations: 8.375 kB / 0.8151 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.006081, allocations: 18.06 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.006234, allocations: 86.91 kB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006242, allocations: 192 / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.006253, allocations: 384 / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.006263, allocations: 9.031 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.006301, allocations: 21.95 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.007005, allocations: 368.4 kB / 0.8156 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.296e-05/0.007068, allocations: 31.53 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.007097, allocations: 11.69 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.007121, allocations: 5.281 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.007256, allocations: 89.45 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.007258, allocations: 3.938 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002328/0.007491, allocations: 98.09 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.00753, allocations: 56.78 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.00765, allocations: 200.1 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.007671, allocations: 29.7 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.007746, allocations: 164 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.007765, allocations: 23.81 kB / 0.8163 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.007828, allocations: 55.34 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.007956, allocations: 0.4961 MB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.008042, allocations: 66.61 kB / 0.8169 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.008159, allocations: 181.5 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.008321, allocations: 214.3 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.008324, allocations: 0 / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002871/0.008611, allocations: 263.5 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.008643, allocations: 37.64 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.00865, allocations: 6.969 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.008669, allocations: 7.984 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.008738, allocations: 16 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.008748, allocations: 11.92 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.008851, allocations: 27.94 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.00887, allocations: 15.98 kB / 0.8176 GB, free: 11.48 MB / 0.7761 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 9.931e-05/0.008969, allocations: 169 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.008989, allocations: 17.3 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.009026, allocations: 12.78 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.009029, allocations: 0 / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.009034, allocations: 5.016 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.009039, allocations: 0 / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.009381, allocations: 365.2 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009383, allocations: 0.5 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.009437, allocations: 12.64 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.00944, allocations: 6.656 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.009458, allocations: 4 kB / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.009461, allocations: 0 / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009462, allocations: 0 / 0.8182 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.009664, allocations: 251.7 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.009678, allocations: 11.91 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.009694, allocations: 3.938 kB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.009746, allocations: 14.77 kB / 0.8185 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.009792, allocations: 7.984 kB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.009803, allocations: 7.938 kB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.009862, allocations: 145.6 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009862, allocations: 0 / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002366/0.0101, allocations: 35.92 kB / 0.8186 GB, free: 10.37 MB / 0.7761 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.0001537/0.01025, allocations: 107.2 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.01047, allocations: 182.9 kB / 0.8189 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01047, allocations: 0 / 0.8189 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.01052, allocations: 35.61 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01074, allocations: 21.02 kB / 0.819 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.01117, allocations: 248.4 kB / 0.8192 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.54e-05/0.01122, allocations: 81.05 kB / 0.8193 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.506e-05/0.01126, allocations: 19.52 kB / 0.8193 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.01129, allocations: 17.22 kB / 0.8193 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.01129, allocations: 0 / 0.8193 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of Templates: time 0.00386/0.01515, allocations: 1.753 MB / 0.821 GB, free: 7.91 MB / 0.7761 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.200456005055457]