Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001072/0.001072, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001244/0.001244, allocations: 173 kB / 23.49 MB, free: 1.059 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.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.274/2.274, allocations: 429.5 MB / 0.6736 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.717e-06/3.717e-06, allocations: 0.875 kB / 0.8783 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.76e-05, allocations: 3.25 kB / 0.8783 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001766/0.001804, allocations: 0.8289 MB / 0.8791 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.002843, allocations: 0.9259 MB / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.002974, allocations: 3.938 kB / 0.88 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.00313, allocations: 17.41 kB / 0.88 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.027e-05/0.003171, allocations: 13.58 kB / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.003412, allocations: 31.91 kB / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003541, allocations: 79.7 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.003671, allocations: 23.92 kB / 0.8801 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.003841, allocations: 45.23 kB / 0.8802 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.003908, allocations: 23.92 kB / 0.8802 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.003929, allocations: 4 kB / 0.8802 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.003977, allocations: 12.7 kB / 0.8802 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.003994, allocations: 15.92 kB / 0.8802 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.004023, allocations: 16.59 kB / 0.8802 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.004169, allocations: 57.34 kB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.004173, allocations: 0 / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/0.004175, allocations: 0 / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.004181, allocations: 3.938 kB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004401/0.004621, allocations: 410.3 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.004663, allocations: 12.03 kB / 0.8807 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.004816, allocations: 16.88 kB / 0.8807 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.00502, allocations: 149.2 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.005032, allocations: 4.375 kB / 0.8809 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.005043, allocations: 384 / 0.8809 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.005169, allocations: 66.88 kB / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005177, allocations: 8.172 kB / 0.8809 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.005188, allocations: 4.375 kB / 0.8809 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.005196, allocations: 384 / 0.8809 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.005238, allocations: 12.66 kB / 0.881 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.005619, allocations: 304.9 kB / 0.8812 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.005721, allocations: 43.05 kB / 0.8813 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.005752, allocations: 23.77 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.005768, allocations: 3.938 kB / 0.8813 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.005793, allocations: 33.39 kB / 0.8813 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.005795, allocations: 0 / 0.8813 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001829/0.005978, allocations: 57.67 kB / 0.8814 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.006011, allocations: 51.41 kB / 0.8815 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.006113, allocations: 189.9 kB / 0.8816 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.00613, allocations: 25.7 kB / 0.8817 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.006195, allocations: 146.8 kB / 0.8818 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.006212, allocations: 7.953 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.006249, allocations: 27.36 kB / 0.8818 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006374, allocations: 0.4884 MB / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.006403, allocations: 4 kB / 0.8823 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.006422, allocations: 7.984 kB / 0.8823 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.006465, allocations: 19.69 kB / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.006468, allocations: 0 / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.012e-05/0.006548, allocations: 57.52 kB / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.006565, allocations: 8 kB / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.00657, allocations: 0 / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.006587, allocations: 0 / 0.8824 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.006662, allocations: 7.984 kB / 0.8824 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.006672, allocations: 0 / 0.8824 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.006702, allocations: 12 kB / 0.8824 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.006709, allocations: 0 / 0.8824 GB, free: 2.102 MB / 0.8386 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 7.843e-05/0.006787, allocations: 156.6 kB / 0.8826 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.006808, allocations: 11.89 kB / 0.8826 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.006839, allocations: 12.33 kB / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006842, allocations: 0 / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.006847, allocations: 0 / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.00685, allocations: 0 / 0.8826 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.006976, allocations: 136.6 kB / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006978, allocations: 4 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.007003, allocations: 7.938 kB / 0.8827 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.007007, allocations: 3.938 kB / 0.8827 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.007016, allocations: 4 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007017, allocations: 0 / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007018, allocations: 0 / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.007146, allocations: 200.2 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.007162, allocations: 15.88 kB / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.007181, allocations: 0 / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.007227, allocations: 4 kB / 0.883 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.00728, allocations: 16.02 kB / 0.883 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.007285, allocations: 7.984 kB / 0.883 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.00734, allocations: 141.5 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007341, allocations: 0 / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001515/0.007492, allocations: 11.94 kB / 0.8831 GB, free: 1.316 MB / 0.8386 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001304/0.007622, allocations: 99.19 kB / 0.8832 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.00774, allocations: 23.67 kB / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.007742, allocations: 0 / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.007767, allocations: 15.69 kB / 0.8833 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.008001, allocations: 17.02 kB / 0.8833 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.008647, allocations: 173.9 kB / 0.8834 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.008691, allocations: 59.34 kB / 0.8835 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.008723, allocations: 4 kB / 0.8835 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.008762, allocations: 16.5 kB / 0.8835 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of SimCode: time 1.603e-06/0.008764, allocations: 0 / 0.8835 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of Templates: time 0.003119/0.01188, allocations: 0.934 MB / 0.8844 GB, free: 15.94 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.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.983867696952075]