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.0009879/0.0009879, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0008802/0.0008802, allocations: 165 kB / 23.82 MB, free: 0.75 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.9353/0.9353, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.966/1.966, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.737e-06/3.737e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.551e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002457/0.002492, allocations: 0.8752 MB / 0.8125 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.004269, allocations: 1.224 MB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.892e-05/0.004358, allocations: 0 / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.004408, allocations: 11.86 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.004528, allocations: 23.8 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.005228, allocations: 148.9 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.005536, allocations: 171.6 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.005692, allocations: 25.28 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.005909, allocations: 109.3 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.006047, allocations: 43.86 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.006098, allocations: 12 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.006186, allocations: 29.75 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.006222, allocations: 15.92 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.006301, allocations: 47.91 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.006549, allocations: 119.6 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.006554, allocations: 0 / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.773e-06/0.006556, allocations: 0.8125 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.006563, allocations: 0 / 0.8144 GB, free: 14.83 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.0008356/0.007399, allocations: 0.5137 MB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.007449, allocations: 12.56 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.007536, allocations: 16.89 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.007776, allocations: 160.1 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.007803, allocations: 16.31 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.007845, allocations: 16.36 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.008073, allocations: 83.45 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008084, allocations: 1.562 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.008104, allocations: 12.36 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.008114, allocations: 4.312 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.008166, allocations: 19.92 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.008903, allocations: 364.6 kB / 0.8156 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.084e-05/0.008994, allocations: 36.27 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.009028, allocations: 15.81 kB / 0.8156 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.009051, allocations: 0 / 0.8156 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.009214, allocations: 90.08 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.009216, allocations: 0 / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002816/0.009498, allocations: 102.3 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.009542, allocations: 51.41 kB / 0.8159 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.009688, allocations: 202.7 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.009717, allocations: 33.7 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.009809, allocations: 155.7 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.009836, allocations: 27.8 kB / 0.8163 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.00993, allocations: 55.34 kB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.01009, allocations: 0.4974 MB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.0102, allocations: 61.67 kB / 0.8169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.01036, allocations: 189.5 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01058, allocations: 198.6 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.01059, allocations: 3.938 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003999/0.01099, allocations: 255.4 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.01103, allocations: 33.7 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01104, allocations: 0.5 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.01106, allocations: 4.531 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01116, allocations: 27.92 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.01117, allocations: 9.922 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01132, allocations: 35.86 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.01134, allocations: 12 kB / 0.8176 GB, free: 11.21 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.0001253/0.01147, allocations: 177.1 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.01149, allocations: 12.61 kB / 0.8178 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.01154, allocations: 20.78 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01154, allocations: 3 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01155, allocations: 0 / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01155, allocations: 3.984 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.01202, allocations: 369.2 kB / 0.8181 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01202, allocations: 0 / 0.8181 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.0121, allocations: 19.86 kB / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.0121, allocations: 0 / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.01212, allocations: 6.531 kB / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01212, allocations: 0 / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01212, allocations: 0 / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.01238, allocations: 251.7 kB / 0.8184 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.0124, allocations: 15.91 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.01242, allocations: 0 / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.0125, allocations: 7.984 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.01255, allocations: 12.92 kB / 0.8184 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.01256, allocations: 4 kB / 0.8185 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.435e-05/0.01263, allocations: 146.8 kB / 0.8186 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01263, allocations: 0 / 0.8186 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003524/0.01299, allocations: 31.98 kB / 0.8186 GB, free: 10.08 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.0002968/0.01328, allocations: 108.3 kB / 0.8187 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.01357, allocations: 186.7 kB / 0.8189 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01357, allocations: 0 / 0.8189 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.01362, allocations: 29.33 kB / 0.8189 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.01396, allocations: 24.06 kB / 0.819 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.01456, allocations: 253.1 kB / 0.8192 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.567e-05/0.01462, allocations: 71.73 kB / 0.8193 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.778e-05/0.01469, allocations: 17.42 kB / 0.8193 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.01473, allocations: 16.5 kB / 0.8193 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of SimCode: time 1.393e-06/0.01473, allocations: 0 / 0.8193 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.005603/0.02033, allocations: 1.884 MB / 0.8211 GB, free: 7.5 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.226595546118915]