Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.y|lesEquThr.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.y|lesEquThr.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 179.4 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 82.41 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.239e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2586, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7273/0.986, allocations: 131.6 MB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.9863, allocations: 71.83 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001647/0.9879, allocations: 0.6289 MB / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9879, allocations: 0 / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.988, allocations: 0 / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000365/0.9883, allocations: 342.9 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.9884, allocations: 8.031 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.9884, allocations: 4 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.9886, allocations: 163 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.9886, allocations: 0 / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.9886, allocations: 3.938 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.629e-05/0.9887, allocations: 11.75 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.206e-05/0.9888, allocations: 37.06 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.9888, allocations: 0 / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.9888, allocations: 0 / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.9888, allocations: 4 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.9892, allocations: 245.1 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.325e-05/0.9893, allocations: 30.17 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.9893, allocations: 16.42 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.9893, allocations: 4 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.9893, allocations: 30.56 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.9893, allocations: 0 / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.9895, allocations: 36.7 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.9895, allocations: 54.14 kB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.9896, allocations: 92.19 kB / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.9896, allocations: 29.7 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.9896, allocations: 88.16 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.9897, allocations: 7.094 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.9897, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.9898, allocations: 314.8 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.9898, allocations: 7.312 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.9898, allocations: 4 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.452e-05/0.9898, allocations: 3.938 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9898, allocations: 4 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.852e-05/0.9899, allocations: 45.06 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.9899, allocations: 4 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.9899, allocations: 0 / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.9899, allocations: 0 / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.99, allocations: 9.312 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.99, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.9901, allocations: 11.98 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.9901, allocations: 3.312 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.23e-05/0.9902, allocations: 113 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.9902, allocations: 0 / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.9902, allocations: 15.62 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.9902, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.9902, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9903, allocations: 7.828 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.9904, allocations: 133.5 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.9904, allocations: 4.828 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.9905, allocations: 15.98 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9905, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.9905, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9905, allocations: 3.938 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.9905, allocations: 0 / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.9906, allocations: 142.2 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.9907, allocations: 86.25 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.9907, allocations: 0 / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.9908, allocations: 20 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.9908, allocations: 0 / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.9908, allocations: 0 / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.9909, allocations: 82.91 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9909, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002042/0.9911, allocations: 4 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001337/0.9912, allocations: 99.25 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.864e-05/0.9913, allocations: 23.23 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9913, allocations: 0 / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.9913, allocations: 11.69 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.9915, allocations: 0 / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.9918, allocations: 62.39 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.992, allocations: 0.6811 MB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.992, allocations: 4.125 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.992, allocations: 7.438 kB / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.992, allocations: 0 / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of Templates: time 0.001959/0.994, allocations: 376.4 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches