Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0009571/0.0009571, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.0009911/0.0009911, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.852/1.852, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.661e-06, allocations: 4 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.451e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00172/0.001744, allocations: 0.7121 MB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.002909, allocations: 0.883 MB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.002955, allocations: 1.25 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.002993, allocations: 3.938 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.316e-05/0.003086, allocations: 3.938 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.003267, allocations: 29.16 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003375, allocations: 47.84 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.003487, allocations: 4 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.003595, allocations: 33.64 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.003663, allocations: 19.92 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.003691, allocations: 4 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.003704, allocations: 4 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.003726, allocations: 11.98 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.003754, allocations: 12.83 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.003864, allocations: 39.83 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003866, allocations: 0.625 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003867, allocations: 0 / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003871, allocations: 5.344 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004633/0.004335, allocations: 372.6 kB / 0.7892 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.004371, allocations: 8.031 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.004418, allocations: 13.95 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.868e-05/0.004507, allocations: 112.6 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.004525, allocations: 4.359 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.004536, allocations: 9.688 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.004661, allocations: 62.94 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.00467, allocations: 7.875 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.004683, allocations: 9.531 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.004691, allocations: 0 / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.00473, allocations: 11.98 kB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.005033, allocations: 282.4 kB / 0.7897 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.00512, allocations: 54.92 kB / 0.7898 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.005148, allocations: 15.75 kB / 0.7898 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.005159, allocations: 0 / 0.7898 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.005179, allocations: 37.39 kB / 0.7898 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.00518, allocations: 0 / 0.7898 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001613/0.005341, allocations: 62.39 kB / 0.7899 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.005369, allocations: 51.41 kB / 0.79 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.005437, allocations: 171.8 kB / 0.7901 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/0.005446, allocations: 25.7 kB / 0.7901 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.005491, allocations: 134.9 kB / 0.7903 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.005506, allocations: 7.891 kB / 0.7903 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.005536, allocations: 29.11 kB / 0.7903 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.005634, allocations: 496.1 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.005655, allocations: 4 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.005672, allocations: 11.98 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.00571, allocations: 20.81 kB / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005712, allocations: 3.938 kB / 0.7908 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.548e-05/0.005778, allocations: 53.64 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.005789, allocations: 9.578 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005794, allocations: 4 kB / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.005805, allocations: 3.938 kB / 0.7909 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.005875, allocations: 7.938 kB / 0.7909 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.00588, allocations: 6 kB / 0.7909 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.523e-05/0.005905, allocations: 8.312 kB / 0.7909 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.005912, allocations: 4 kB / 0.7909 GB, free: 8.371 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.064e-05/0.005972, allocations: 156.5 kB / 0.7911 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.00599, allocations: 16.59 kB / 0.7911 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.00601, allocations: 4 kB / 0.7911 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.006011, allocations: 0.5312 kB / 0.7911 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.006014, allocations: 0.7188 kB / 0.7911 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006017, allocations: 3.984 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.045e-05/0.006107, allocations: 133.2 kB / 0.7912 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.006109, allocations: 3.938 kB / 0.7912 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.006138, allocations: 5.406 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006139, allocations: 0 / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.006148, allocations: 7.984 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.006149, allocations: 0.5312 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.00615, allocations: 0 / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.006252, allocations: 197.2 kB / 0.7914 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.006261, allocations: 15.83 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.006272, allocations: 4 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.006311, allocations: 13.14 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.006358, allocations: 11.98 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.006361, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.006394, allocations: 128.5 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006394, allocations: 0 / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001344/0.006529, allocations: 8 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 6.409e-05/0.006593, allocations: 100.1 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.067e-05/0.006683, allocations: 28.52 kB / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006685, allocations: 0 / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.006714, allocations: 29.02 kB / 0.7917 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.006882, allocations: 11.88 kB / 0.7918 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.007132, allocations: 134.9 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.292e-05/0.007165, allocations: 55.89 kB / 0.7919 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.675e-05/0.007192, allocations: 9.891 kB / 0.7919 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.007227, allocations: 12.5 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/0.007228, allocations: 4.812 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.002641/0.009868, allocations: 1.019 MB / 0.793 GB, free: 6.199 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.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: 4.956297699827701]