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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.00135, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001554, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.845/2.845, allocations: 436.5 MB / 0.7104 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003875, allocations: 15.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8656/0.866, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.0009609/0.867, allocations: 0.5214 MB / 1.021 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.8679, allocations: 0.8585 MB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.868, allocations: 11.94 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.868, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.8681, allocations: 19.95 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.8683, allocations: 19.92 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.8684, allocations: 47.94 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.8685, allocations: 31.91 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.8686, allocations: 23.91 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.8687, allocations: 23.86 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.8687, allocations: 0 / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.8687, allocations: 0 / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.8687, allocations: 11.94 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.8688, allocations: 33.7 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.65e-05/0.8689, allocations: 55.84 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.8689, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.975e-06/0.8689, allocations: 4 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.8689, allocations: 4 kB / 1.022 GB, free: 15.44 MB / 0.7794 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.0004636/0.8694, allocations: 384.9 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.8694, allocations: 11.98 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.8694, allocations: 7.906 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.8696, allocations: 196.7 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.8697, allocations: 4 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.8697, allocations: 4 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.8698, allocations: 73.5 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8698, allocations: 3.938 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.8699, allocations: 7.984 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.8699, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.87, allocations: 31.98 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.8705, allocations: 332.6 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.8707, allocations: 54.55 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.8707, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.8707, allocations: 34.56 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.8707, allocations: 3.984 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002248/0.871, allocations: 81.86 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.871, allocations: 55.39 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.8711, allocations: 139.8 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.8711, allocations: 25.7 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.8712, allocations: 92.14 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.8712, allocations: 11.89 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.8712, allocations: 0 / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8713, allocations: 318.8 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/0.8714, allocations: 23.98 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.8714, allocations: 16 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.8715, allocations: 11.98 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8715, allocations: 0 / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.8717, allocations: 73.52 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.8717, allocations: 8 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.8717, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.8717, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.8718, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.8718, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.8718, allocations: 19.98 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.8719, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 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 (les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/0.8719, allocations: 121.8 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.872, allocations: 11.89 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.872, allocations: 12.25 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.872, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.8721, allocations: 4 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8721, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.8722, allocations: 185.5 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8723, allocations: 3.938 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.8723, allocations: 11.98 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.8723, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.8723, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8723, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.8723, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.8725, allocations: 163.4 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.8726, allocations: 88.97 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.8726, allocations: 0 / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.8727, allocations: 19.98 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.8728, allocations: 7.984 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.8728, allocations: 0 / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.8729, allocations: 103.2 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8729, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002252/0.8731, allocations: 12 kB / 1.025 GB, free: 12.4 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.8732, allocations: 103.6 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.8734, allocations: 39.92 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8734, allocations: 0 / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/0.8735, allocations: 20.08 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.8737, allocations: 8.094 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.8741, allocations: 187.3 kB / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.8744, allocations: 0.6926 MB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.8744, allocations: 12.17 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.8745, allocations: 11.44 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 1.773e-06/0.8745, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002947/0.8774, allocations: 0.6936 MB / 1.027 GB, free: 10.58 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches