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.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.y|lesEqu.u2|lesEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.y|lesEqu.u2|lesEqu.u1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.00101/0.001009, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008169/0.0008167, allocations: 86.48 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.607e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7179/0.9532, allocations: 131.3 MB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.9535, allocations: 72.14 kB / 1.02 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002303/0.9558, allocations: 0.8499 MB / 1.021 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9558, allocations: 0 / 1.021 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.9558, allocations: 8 kB / 1.021 GB, free: 2.516 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004273/0.9563, allocations: 353.8 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.9563, allocations: 8.031 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.9564, allocations: 8.719 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.9565, allocations: 175 kB / 1.021 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.9565, allocations: 4 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.9565, allocations: 0 / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.9567, allocations: 44.5 kB / 1.022 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.9567, allocations: 3.938 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.9567, allocations: 2.375 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9567, allocations: 4 kB / 1.022 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.455e-05/0.9568, allocations: 16.31 kB / 1.022 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.9573, allocations: 303.3 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.523e-05/0.9574, allocations: 28.77 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.9574, allocations: 23.17 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.9574, allocations: 4 kB / 1.022 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.9575, allocations: 30.56 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.9575, allocations: 0 / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.9576, allocations: 52.5 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.9577, allocations: 58.14 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.9577, allocations: 96.25 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.9578, allocations: 25.7 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.9578, allocations: 95.44 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.9579, allocations: 11.28 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.9579, allocations: 0 / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.958, allocations: 314.8 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.958, allocations: 11.62 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.958, allocations: 15.56 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.9581, allocations: 11.5 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9581, allocations: 0 / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.522e-05/0.9582, allocations: 52.03 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.9582, allocations: 8 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9582, allocations: 4.781 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9582, allocations: 0 / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.9584, allocations: 19.97 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.9584, allocations: 4 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/0.9585, allocations: 15.98 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.9585, allocations: 4 kB / 1.023 GB, free: 0.6172 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 (lesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.81e-05/0.9586, allocations: 104.9 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.9586, allocations: 4 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.9587, allocations: 11.45 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9587, allocations: 0 / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9587, allocations: 0 / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.9587, allocations: 7.938 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.9589, allocations: 168.7 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9589, allocations: 0 / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.959, allocations: 27.98 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9591, allocations: 0 / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.9591, allocations: 0 / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9591, allocations: 3.984 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9591, allocations: 4 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.9592, allocations: 148.5 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.9593, allocations: 89.09 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.9593, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.9595, allocations: 15.98 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.9595, allocations: 11.55 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.9595, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.9596, allocations: 86.95 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.926e-06/0.9596, allocations: 4 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001878/0.9598, allocations: 11.94 kB / 1.023 GB, free: 15.87 MB / 0.6511 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 (lesEqu.y) * Number of discrete 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.0001805/0.96, allocations: 100.8 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.9601, allocations: 23.23 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9601, allocations: 0 / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.9602, allocations: 15.62 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.9604, allocations: 13.92 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.9607, allocations: 76.84 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.9609, allocations: 0.6887 MB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.961, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.961, allocations: 7.438 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/0.961, allocations: 3.938 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.002547/0.9636, allocations: 0.5625 MB / 1.025 GB, free: 14.36 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches