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.001564/0.001564, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001225/0.001225, allocations: 167.5 kB / 24.86 MB, free: 9.227 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.997/0.997, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.913/1.913, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.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.813e-06/1.813e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.375e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001486/0.00151, allocations: 0.7768 MB / 0.8136 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000883/0.002393, allocations: 0.8989 MB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.002437, allocations: 0 / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.002466, allocations: 9.516 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.002556, allocations: 15.88 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.002709, allocations: 43.81 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.0028, allocations: 88.69 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.002898, allocations: 23.86 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.2e-05/0.00299, allocations: 44.73 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.003055, allocations: 43.89 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.003077, allocations: 9.688 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.003089, allocations: 8 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.003111, allocations: 19.91 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.003139, allocations: 23.92 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003241, allocations: 71.7 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.003243, allocations: 1.531 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.343e-06/0.003245, allocations: 4 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003249, allocations: 0 / 0.8148 GB, free: 15.37 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.000412/0.003661, allocations: 401.8 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.003698, allocations: 12.03 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.003738, allocations: 12.89 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.003847, allocations: 124.5 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.003871, allocations: 6.125 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.003882, allocations: 8.312 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.004044, allocations: 89.39 kB / 0.8154 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.004053, allocations: 5 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.004065, allocations: 8 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.004071, allocations: 0 / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.004119, allocations: 20.8 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.004482, allocations: 309.2 kB / 0.8158 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.004764, allocations: 69.61 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.004797, allocations: 27.61 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.004818, allocations: 4 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.004843, allocations: 33.39 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.004844, allocations: 0 / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000198/0.005042, allocations: 74.14 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.005086, allocations: 60.11 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.005174, allocations: 181.8 kB / 0.8162 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.005187, allocations: 26.23 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.005242, allocations: 144.5 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.005271, allocations: 19.8 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.005311, allocations: 31.34 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.00545, allocations: 0.4884 MB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.005482, allocations: 8.609 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.005507, allocations: 11.98 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.005902, allocations: 40.7 kB / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.005904, allocations: 0.6875 kB / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001029/0.006007, allocations: 66.5 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.00602, allocations: 8 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006025, allocations: 0.8125 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.006033, allocations: 0 / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.006118, allocations: 24.91 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006122, allocations: 4 kB / 0.8171 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.006161, allocations: 5.219 kB / 0.8171 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.006169, allocations: 0 / 0.8171 GB, free: 12.9 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.503e-05/0.006244, allocations: 172.4 kB / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.006268, allocations: 12.8 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.006405, allocations: 76.31 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.006407, allocations: 0 / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.006409, allocations: 0 / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006412, allocations: 3.938 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.006529, allocations: 125.2 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006531, allocations: 0 / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.006597, allocations: 27.02 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006599, allocations: 0 / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.006608, allocations: 11.97 kB / 0.8175 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.00661, allocations: 4 kB / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.006611, allocations: 0 / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.006757, allocations: 223.8 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.006769, allocations: 7.891 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.006781, allocations: 1.281 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.006836, allocations: 12 kB / 0.8177 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.006891, allocations: 23.95 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.006897, allocations: 0.625 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.092e-05/0.006938, allocations: 135.6 kB / 0.8179 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006938, allocations: 4.562 kB / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001507/0.007088, allocations: 13.72 kB / 0.8179 GB, free: 12.01 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 0.0001007/0.007189, allocations: 95.25 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.007296, allocations: 44.78 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007298, allocations: 0 / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.007344, allocations: 35.67 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.00755, allocations: 17.41 kB / 0.8181 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.007837, allocations: 168.1 kB / 0.8182 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.007872, allocations: 63.34 kB / 0.8183 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.132e-05/0.007913, allocations: 11.3 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.008001, allocations: 95.31 kB / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.008001, allocations: 0 / 0.8184 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.003444/0.01145, allocations: 1.877 MB / 0.8202 GB, free: 9.582 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.19944544415921]