Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009192/0.0009194, allocations: 99.16 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.001061/0.001062, 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.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.2 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005245/0.0005248, allocations: 15.98 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7754, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual): time 0.001206/0.7767, allocations: 439.7 kB / 0.954 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.7778, allocations: 0.7955 MB / 0.9547 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.7779, allocations: 1.406 kB / 0.9547 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.7779, allocations: 0 / 0.9547 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.47e-05/0.778, allocations: 9.016 kB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.141e-05/0.7781, allocations: 13.17 kB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.7782, allocations: 19.66 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.7783, allocations: 12.91 kB / 0.9548 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.7784, allocations: 21.22 kB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.7785, allocations: 16.61 kB / 0.9548 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.7785, allocations: 2.219 kB / 0.9548 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.7785, allocations: 1.125 kB / 0.9548 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.7785, allocations: 5.391 kB / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.7786, allocations: 32.58 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.883e-05/0.7786, allocations: 24.53 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7787, allocations: 1.438 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.925e-06/0.7787, allocations: 0 / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7787, allocations: 0 / 0.9549 GB, free: 6.992 MB / 0.7169 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.0005216/0.7792, allocations: 374.5 kB / 0.9552 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7793, allocations: 8.156 kB / 0.9553 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.7793, allocations: 10.67 kB / 0.9553 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.7794, allocations: 165 kB / 0.9554 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.7795, allocations: 5.094 kB / 0.9554 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.7795, allocations: 6.25 kB / 0.9554 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.7798, allocations: 72.28 kB / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7798, allocations: 0 / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.7798, allocations: 5.375 kB / 0.9555 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7799, allocations: 7.984 kB / 0.9555 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.7803, allocations: 90.88 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.7806, allocations: 268.8 kB / 0.9559 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.7809, allocations: 70.19 kB / 0.9559 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.7809, allocations: 5.281 kB / 0.9559 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.781, allocations: 30.56 kB / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.781, allocations: 0 / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0007055/0.7817, allocations: 178.2 kB / 0.9561 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.7817, allocations: 52.22 kB / 0.9562 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.7818, allocations: 112 kB / 0.9563 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.7818, allocations: 25.7 kB / 0.9563 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.7819, allocations: 86.08 kB / 0.9564 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.7819, allocations: 8.812 kB / 0.9564 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.7819, allocations: 0 / 0.9564 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.782, allocations: 317.1 kB / 0.9567 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.7822, allocations: 43.34 kB / 0.9567 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.7824, allocations: 42.12 kB / 0.9568 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.7825, allocations: 42.48 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7825, allocations: 0 / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003111/0.7829, allocations: 123.8 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.7829, allocations: 5.344 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7829, allocations: 4 kB / 0.9569 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7829, allocations: 1.031 kB / 0.957 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.783, allocations: 21.97 kB / 0.957 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.7831, allocations: 0 / 0.957 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.319e-05/0.7831, allocations: 21.59 kB / 0.957 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.7832, allocations: 4 kB / 0.957 GB, free: 5.066 MB / 0.7169 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 () * Number of clocked 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 5.422e-05/0.7832, allocations: 113.5 kB / 0.9571 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.7833, allocations: 2.312 kB / 0.9571 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.7833, allocations: 9.188 kB / 0.9571 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7833, allocations: 1.062 kB / 0.9571 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7833, allocations: 3.953 kB / 0.9571 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7833, allocations: 0 / 0.9571 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.7834, allocations: 165.6 kB / 0.9573 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7834, allocations: 0 / 0.9573 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.7835, allocations: 26.98 kB / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7835, allocations: 0 / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.7836, allocations: 1.125 kB / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7836, allocations: 4 kB / 0.9573 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7836, allocations: 0 / 0.9573 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.7839, allocations: 226.8 kB / 0.9575 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.7839, allocations: 78.55 kB / 0.9576 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.784, allocations: 4.844 kB / 0.9576 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.7841, allocations: 17.45 kB / 0.9576 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.7841, allocations: 10.17 kB / 0.9576 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.7841, allocations: 0 / 0.9576 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.7842, allocations: 90.45 kB / 0.9577 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7842, allocations: 0 / 0.9577 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002112/0.7844, allocations: 10.05 kB / 0.9577 GB, free: 4.34 MB / 0.7169 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 () * 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.0001038/0.7845, allocations: 108.3 kB / 0.9578 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.7848, allocations: 93.27 kB / 0.9579 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7849, allocations: 1.25 kB / 0.9579 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.785, allocations: 48 kB / 0.958 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.7852, allocations: 15.86 kB / 0.958 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.7855, allocations: 128.3 kB / 0.9581 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.7856, allocations: 0.6815 MB / 0.9588 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.7857, allocations: 9.047 kB / 0.9588 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.7857, allocations: 8.469 kB / 0.9588 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7857, allocations: 1.156 kB / 0.9588 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.002555/0.7883, allocations: 0.5482 MB / 0.9593 GB, free: 3.051 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches