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.38/1.38, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 187.3 kB / 326.5 MB, free: 2.223 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.836/1.836, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0009212/0.000921, allocations: 91.72 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003877, allocations: 15.05 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.263, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.4398, allocations: 131.4 MB / 1.028 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.4402, allocations: 71.95 kB / 1.028 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001955/0.4422, allocations: 0.6294 MB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.012e-06/0.4422, allocations: 0 / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.4422, allocations: 7.938 kB / 1.029 GB, free: 11.62 MB / 0.6823 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.000517/0.4427, allocations: 347.5 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.74e-05/0.4428, allocations: 12.03 kB / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.4429, allocations: 3.938 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.4431, allocations: 166.9 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4431, allocations: 7.984 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.4431, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.4433, allocations: 53.69 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4434, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4434, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.4434, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.4436, allocations: 43.95 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.4442, allocations: 276.8 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.4443, allocations: 38.56 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.4444, allocations: 4 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.4444, allocations: 34.56 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4444, allocations: 0 / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004042/0.4448, allocations: 101.6 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.4449, allocations: 51.41 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.445, allocations: 93 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.4451, allocations: 25.7 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.4451, allocations: 88.12 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.4452, allocations: 15.83 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.4452, allocations: 0 / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4454, allocations: 318.9 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.4455, allocations: 23.98 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.4456, allocations: 19.97 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.4457, allocations: 28.05 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4457, allocations: 0 / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.4459, allocations: 73.61 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4459, allocations: 8.031 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4459, allocations: 0 / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4459, allocations: 3.984 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4461, allocations: 8 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4461, allocations: 0 / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.4461, allocations: 11.98 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4461, allocations: 0 / 1.031 GB, free: 9.586 MB / 0.6823 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 () * Number of clocked 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 0.0001195/0.4463, allocations: 121.8 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.4463, allocations: 7.875 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.4463, allocations: 3.125 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4463, allocations: 3.984 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4464, allocations: 0 / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4464, allocations: 4 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.4466, allocations: 161.5 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4466, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.4466, allocations: 12.23 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4467, allocations: 4 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.4467, allocations: 4 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4467, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4467, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.447, allocations: 179.4 kB / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.447, allocations: 81.11 kB / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4471, allocations: 3.984 kB / 1.031 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.4472, allocations: 11.98 kB / 1.031 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.4472, allocations: 0 / 1.031 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.4472, allocations: 0 / 1.031 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.4473, allocations: 87.27 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4473, allocations: 4.031 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001883/0.4475, allocations: 4 kB / 1.032 GB, free: 8.812 MB / 0.6823 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 () * Number of clocked 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.0002121/0.4477, allocations: 99.25 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.4479, allocations: 47.97 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4479, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.448, allocations: 31.91 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.4483, allocations: 11.33 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.4486, allocations: 112.8 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.4489, allocations: 0.6809 MB / 1.032 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.4489, allocations: 0 / 1.032 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.449, allocations: 7.438 kB / 1.032 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.449, allocations: 0 / 1.032 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.002516/0.4515, allocations: 392.1 kB / 1.033 GB, free: 7.398 MB / 0.6823 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