Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 113.8 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 192.7 kB / 20.02 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.1 MB / 0.7177 GB, free: 4.781 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 71.88 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 151.6 MB / 1.176 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001906/0.3342, allocations: 0.7819 MB / 1.177 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3352, allocations: 0.8701 MB / 1.177 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.3353, allocations: 8 kB / 1.177 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.3353, allocations: 3.938 kB / 1.177 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.3354, allocations: 7.875 kB / 1.177 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.3356, allocations: 43.94 kB / 1.178 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.3357, allocations: 87.77 kB / 1.178 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3358, allocations: 23.98 kB / 1.178 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.911e-05/0.3359, allocations: 47.83 kB / 1.178 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.336, allocations: 43.83 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.336, allocations: 8 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.336, allocations: 8 kB / 1.178 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.3361, allocations: 19.97 kB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.3361, allocations: 31.8 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3363, allocations: 95.53 kB / 1.178 GB, free: 3.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3363, allocations: 0 / 1.178 GB, free: 3.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3363, allocations: 0 / 1.178 GB, free: 3.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.3363, allocations: 4 kB / 1.178 GB, free: 3.758 MB / 0.92 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.0006406/0.337, allocations: 395.1 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.337, allocations: 12.03 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.337, allocations: 12.89 kB / 1.178 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3372, allocations: 172.3 kB / 1.178 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3372, allocations: 4.375 kB / 1.178 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3373, allocations: 8.375 kB / 1.178 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.3376, allocations: 109.5 kB / 1.179 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3376, allocations: 3.938 kB / 1.179 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3376, allocations: 8 kB / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3376, allocations: 0 / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.338, allocations: 95.91 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.3385, allocations: 348.6 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.3392, allocations: 118.6 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.3394, allocations: 52.81 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3394, allocations: 4 kB / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3395, allocations: 34.56 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.3395, allocations: 0 / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006939/0.3402, allocations: 189.4 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3402, allocations: 55.41 kB / 1.179 GB, free: 1.988 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3403, allocations: 125.8 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3403, allocations: 33.64 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.3404, allocations: 92.09 kB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.3404, allocations: 23.78 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.3405, allocations: 21.72 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3406, allocations: 318.8 kB / 1.18 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3408, allocations: 47.95 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.341, allocations: 43.95 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.3414, allocations: 104.7 kB / 1.18 GB, free: 1.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3414, allocations: 0 / 1.18 GB, free: 1.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000417/0.3418, allocations: 137.5 kB / 1.18 GB, free: 1.016 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3418, allocations: 8 kB / 1.18 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3419, allocations: 0 / 1.18 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3419, allocations: 0 / 1.18 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.342, allocations: 23.97 kB / 1.18 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3421, allocations: 3.984 kB / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3422, allocations: 19.92 kB / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3422, allocations: 3.984 kB / 1.18 GB, free: 0.957 MB / 0.92 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 0.0001012/0.3423, allocations: 113.8 kB / 1.181 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3423, allocations: 15.89 kB / 1.181 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.3428, allocations: 153.9 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3428, allocations: 0 / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3429, allocations: 0 / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3429, allocations: 3.938 kB / 1.181 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.3431, allocations: 201.6 kB / 1.181 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3431, allocations: 0 / 1.181 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3433, allocations: 23.97 kB / 1.181 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3433, allocations: 0 / 1.181 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3433, allocations: 0 / 1.181 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3433, allocations: 0 / 1.181 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3433, allocations: 3.938 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.3438, allocations: 243.9 kB / 1.181 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.3439, allocations: 89 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3439, allocations: 7.938 kB / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.344, allocations: 19.97 kB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3442, allocations: 24 kB / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3442, allocations: 3.984 kB / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.3443, allocations: 99.27 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3443, allocations: 0 / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002216/0.3445, allocations: 12 kB / 1.181 GB, free: 15.86 MB / 0.9356 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.0001322/0.3446, allocations: 95.25 kB / 1.181 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.3451, allocations: 115.9 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3451, allocations: 0 / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.3453, allocations: 59.94 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3456, allocations: 4 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.3461, allocations: 211.7 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3464, allocations: 0.6885 MB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.3465, allocations: 19.44 kB / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3465, allocations: 0 / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.002991/0.3495, allocations: 1.239 MB / 1.184 GB, free: 13.37 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.322063422994688]