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.0009697/0.0009697, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009399/0.0009399, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9854/0.9854, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.934/1.934, allocations: 377.9 MB / 0.6236 GB, free: 8.516 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 3.577e-06/3.577e-06, allocations: 0 / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.41e-05/3.768e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002677/0.002714, allocations: 0.8834 MB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.00476, allocations: 1.226 MB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.004842, allocations: 0 / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.004891, allocations: 7.875 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.005003, allocations: 21.55 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.005655, allocations: 151.5 kB / 0.8139 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.00593, allocations: 171.6 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.00609, allocations: 22.48 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.006249, allocations: 95.86 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.006338, allocations: 51.84 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.006365, allocations: 13.59 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.006426, allocations: 31.98 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.006456, allocations: 23.91 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.006514, allocations: 47.89 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.006703, allocations: 142 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.006706, allocations: 0 / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006707, allocations: 0 / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.006712, allocations: 4 kB / 0.8144 GB, free: 14.79 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.0005823/0.007294, allocations: 0.5086 MB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.007336, allocations: 8.031 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.007406, allocations: 21.59 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.007731, allocations: 185 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.007746, allocations: 10.03 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.007783, allocations: 12.38 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.007938, allocations: 82.92 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.007946, allocations: 192 / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.007959, allocations: 13.02 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.007969, allocations: 4.125 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.088e-05/0.00801, allocations: 17.05 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.008535, allocations: 368.6 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.362e-05/0.008588, allocations: 35.05 kB / 0.8157 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.008613, allocations: 15.62 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.008632, allocations: 1.375 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.008756, allocations: 93.08 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.008757, allocations: 1.125 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002235/0.008981, allocations: 93.56 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.009018, allocations: 55.34 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.009135, allocations: 205 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.009157, allocations: 33.7 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.009233, allocations: 159.5 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.009254, allocations: 28.66 kB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.009316, allocations: 47.34 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.009443, allocations: 0.5 MB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.878e-05/0.009532, allocations: 67.55 kB / 0.8169 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.009646, allocations: 185.5 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.009797, allocations: 212.5 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.0098, allocations: 1.875 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002681/0.01007, allocations: 247.6 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.0101, allocations: 41.7 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01011, allocations: 3.938 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.01013, allocations: 4 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.01021, allocations: 23.98 kB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.01022, allocations: 12.58 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-05/0.01032, allocations: 31.67 kB / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01033, allocations: 15.98 kB / 0.8176 GB, free: 11.14 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 0.0001053/0.01044, allocations: 176.4 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.01046, allocations: 11.95 kB / 0.8178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.0105, allocations: 16.78 kB / 0.8178 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.0105, allocations: 0 / 0.8178 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01051, allocations: 0 / 0.8178 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.01051, allocations: 3.984 kB / 0.8178 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.01085, allocations: 367.2 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01085, allocations: 0 / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.01091, allocations: 11.98 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01091, allocations: 0 / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01092, allocations: 4 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01092, allocations: 0.9375 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01092, allocations: 0 / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.01112, allocations: 256.9 kB / 0.8185 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.01113, allocations: 11.91 kB / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.01114, allocations: 0 / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.01118, allocations: 9.109 kB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.01122, allocations: 15.92 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.01123, allocations: 3.938 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.01128, allocations: 146.5 kB / 0.8186 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01128, allocations: 0 / 0.8186 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002152/0.0115, allocations: 35.92 kB / 0.8187 GB, free: 10.02 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.0001613/0.01166, allocations: 109.4 kB / 0.8188 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.0119, allocations: 182.4 kB / 0.819 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.0119, allocations: 0 / 0.819 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.01194, allocations: 31.61 kB / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01218, allocations: 31.91 kB / 0.819 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.01265, allocations: 244 kB / 0.8192 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.01269, allocations: 78.08 kB / 0.8193 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.01273, allocations: 10.47 kB / 0.8193 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.01276, allocations: 25.08 kB / 0.8194 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.01276, allocations: 0 / 0.8194 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of Templates: time 0.004176/0.01694, allocations: 1.759 MB / 0.8211 GB, free: 7.547 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.281070094089955]