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.00143/0.00143, allocations: 83.59 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.001348/0.001348, 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.999/0.999, allocations: 177.1 MB / 204.2 MB, free: 5.035 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.829/1.829, allocations: 377.9 MB / 0.6236 GB, free: 8.539 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 2.875e-06/2.875e-06, allocations: 0 / 0.8116 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.305e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001441/0.001474, allocations: 0.7799 MB / 0.8123 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.002368, allocations: 0.9072 MB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.002414, allocations: 0 / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.002454, allocations: 7.875 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.00256, allocations: 13.47 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.002761, allocations: 43.92 kB / 0.8133 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.002859, allocations: 83.72 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.002958, allocations: 23.91 kB / 0.8134 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.003059, allocations: 57.05 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.003124, allocations: 35.95 kB / 0.8135 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.00315, allocations: 8 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.003163, allocations: 8.688 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.003189, allocations: 23.89 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.003218, allocations: 24.67 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.003323, allocations: 63.78 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003326, allocations: 0.9688 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.373e-06/0.003327, allocations: 0 / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.003333, allocations: 0 / 0.8136 GB, free: 15.67 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.0004295/0.003762, allocations: 409.2 kB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.003801, allocations: 13.28 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.003847, allocations: 12.83 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.003955, allocations: 120.5 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.003977, allocations: 4.375 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.003991, allocations: 9.969 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.004163, allocations: 90.89 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.004171, allocations: 5.312 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.004183, allocations: 7.938 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.00419, allocations: 0 / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.004256, allocations: 35.91 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.004641, allocations: 320.8 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.004928, allocations: 88.88 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.004969, allocations: 23.67 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.004988, allocations: 0 / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.005008, allocations: 38.92 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.005009, allocations: 0 / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002069/0.005216, allocations: 77.67 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.005246, allocations: 52.81 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.005328, allocations: 189.8 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.00534, allocations: 25.7 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.005387, allocations: 142.9 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.005409, allocations: 20.33 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.005445, allocations: 31.98 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.005551, allocations: 0.4883 MB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.00559, allocations: 13.95 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.005617, allocations: 16.3 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.982e-05/0.005687, allocations: 39.81 kB / 0.8158 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.00569, allocations: 4 kB / 0.8158 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.005801, allocations: 74.16 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.005815, allocations: 8.719 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.00582, allocations: 5.188 kB / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.005833, allocations: 0 / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.00591, allocations: 19.97 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.005915, allocations: 0.625 kB / 0.8159 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.005949, allocations: 4 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.005956, allocations: 9.062 kB / 0.8159 GB, free: 13.12 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.652e-05/0.006033, allocations: 168.5 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.006053, allocations: 8.766 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.0062, allocations: 82.69 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006202, allocations: 0.8125 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.006206, allocations: 4 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006209, allocations: 0.9375 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.006319, allocations: 152.5 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00632, allocations: 0 / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.006379, allocations: 25.31 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006381, allocations: 0 / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.006389, allocations: 0 / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.00639, allocations: 0.875 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006391, allocations: 0 / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.006536, allocations: 226.1 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.006547, allocations: 7.953 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.00656, allocations: 4 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.00661, allocations: 11.92 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.006672, allocations: 19.97 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.006678, allocations: 4 kB / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.006721, allocations: 139 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006721, allocations: 0 / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000145/0.006866, allocations: 16 kB / 0.8167 GB, free: 12.2 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 8.631e-05/0.006952, allocations: 95.25 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.007075, allocations: 47.64 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007076, allocations: 0 / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.007127, allocations: 44.19 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.007324, allocations: 19.86 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.007658, allocations: 167.9 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.007697, allocations: 64 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.007736, allocations: 7.875 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.007791, allocations: 24.48 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/0.007792, allocations: 3.719 kB / 0.8172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.003286/0.01108, allocations: 1.829 MB / 0.819 GB, free: 9.895 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.127939435187727]