Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001324/0.001324, 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.001073/0.001073, allocations: 181 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.066/1.066, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.6e-05, allocations: 6.312 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00155/0.001576, allocations: 0.7809 MB / 0.8128 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.002548, allocations: 0.903 MB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.002595, allocations: 0 / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.002623, allocations: 3.938 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.002703, allocations: 15.8 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.002879, allocations: 40.92 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.002973, allocations: 91.75 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003075, allocations: 20.7 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.003176, allocations: 51.89 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.003241, allocations: 41.56 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.003263, allocations: 8 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.003275, allocations: 8 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.003299, allocations: 19.97 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.003328, allocations: 25.45 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003437, allocations: 71.7 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003439, allocations: 0 / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.00344, allocations: 0 / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.003443, allocations: 0 / 0.814 GB, free: 15.36 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003778/0.003821, allocations: 406.1 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.003858, allocations: 8.031 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.003891, allocations: 12.89 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.003974, allocations: 124.4 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.004, allocations: 12.92 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.004014, allocations: 5.344 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.004179, allocations: 91.31 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.004186, allocations: 3.938 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.004195, allocations: 3.984 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.0042, allocations: 0 / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.004247, allocations: 26.56 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.00456, allocations: 304.1 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.004804, allocations: 79.12 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.004834, allocations: 20.2 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.004852, allocations: 0.7188 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.004872, allocations: 41.33 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.004874, allocations: 0.5312 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001626/0.005036, allocations: 75.33 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.00506, allocations: 51.41 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.005142, allocations: 185.8 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.005154, allocations: 29.7 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.005201, allocations: 135.4 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.005224, allocations: 28.38 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.005268, allocations: 27.36 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.005378, allocations: 496.9 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.005407, allocations: 13.14 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.005428, allocations: 11.98 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.507e-05/0.005483, allocations: 41.39 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005485, allocations: 0 / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.289e-05/0.005578, allocations: 77.55 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.005589, allocations: 4.5 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005593, allocations: 0 / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.005604, allocations: 5.125 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.005683, allocations: 15.98 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.005686, allocations: 0.9062 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.005721, allocations: 7.984 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.005728, allocations: 4.844 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7.156e-05/0.005799, allocations: 168.5 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.005829, allocations: 10.17 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.005957, allocations: 82.06 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.005963, allocations: 4 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.005964, allocations: 0 / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005967, allocations: 2.781 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.006079, allocations: 125.2 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006081, allocations: 0 / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.006145, allocations: 23.92 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.006148, allocations: 7.938 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006154, allocations: 0 / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.006156, allocations: 0 / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006156, allocations: 0 / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.00629, allocations: 217.3 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.006303, allocations: 15.88 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.006314, allocations: 4 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.006373, allocations: 4.5 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.006431, allocations: 24.5 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.006436, allocations: 5.328 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.006476, allocations: 131.2 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006476, allocations: 0 / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001468/0.006622, allocations: 15.98 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.412e-05/0.006716, allocations: 100.2 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.684e-05/0.006813, allocations: 44.3 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006815, allocations: 4.531 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.006858, allocations: 39.23 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.007049, allocations: 15.98 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.007329, allocations: 170.8 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.007363, allocations: 59.34 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.007402, allocations: 10.62 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.007488, allocations: 87.28 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.007489, allocations: 0 / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of Templates: time 0.003499/0.01099, allocations: 1.835 MB / 0.8194 GB, free: 9.621 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.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.170332677196711]