Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009687/0.0009687, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.0009002/0.0009001, allocations: 177.3 kB / 15.94 MB, free: 228 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.537/1.537, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.745/2.745, allocations: 436.5 MB / 0.7104 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 12 kB / 0.8708 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.8375, allocations: 153.6 MB / 1.021 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001123/0.8386, allocations: 0.5604 MB / 1.021 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.8397, allocations: 0.8819 MB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.8398, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.8399, allocations: 7.922 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.84, allocations: 15.92 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.8402, allocations: 35.94 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.8403, allocations: 59.88 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.8404, allocations: 36.16 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.194e-05/0.8405, allocations: 27.84 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.8406, allocations: 35.84 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.8407, allocations: 0 / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.8407, allocations: 7.938 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.8407, allocations: 11.91 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.8407, allocations: 37.64 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.194e-05/0.8408, allocations: 67.84 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8408, allocations: 4 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8409, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.8409, allocations: 0 / 1.023 GB, free: 15.25 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006116/0.8415, allocations: 416.9 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.8415, allocations: 15.97 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.8416, allocations: 7.906 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.8418, allocations: 196.9 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.8418, allocations: 11.94 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.8418, allocations: 4 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.8421, allocations: 105.5 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.8421, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.8421, allocations: 4 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.8421, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.8424, allocations: 83.94 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.843, allocations: 356.5 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.8432, allocations: 74.55 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.8432, allocations: 4.078 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.8433, allocations: 34.56 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.8433, allocations: 4 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004711/0.8437, allocations: 133.7 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.8438, allocations: 55.39 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.8439, allocations: 137.9 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.8439, allocations: 29.7 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.844, allocations: 103.9 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.844, allocations: 7.891 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.844, allocations: 0 / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8442, allocations: 322.8 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.8443, allocations: 39.97 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.8444, allocations: 35.97 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.8445, allocations: 35.97 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8445, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002667/0.8448, allocations: 117.5 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/0.8449, allocations: 13.33 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.8449, allocations: 3.984 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.8449, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.8451, allocations: 15.98 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.8451, allocations: 3.984 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.8452, allocations: 23.98 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.8452, allocations: 8.141 kB / 1.025 GB, free: 12.69 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 (5): * Single equations (assignments): 5 * 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 9.337e-05/0.8453, allocations: 117.8 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.8453, allocations: 3.906 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.8454, allocations: 16.23 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8454, allocations: 0 / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.8454, allocations: 4 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8454, allocations: 0 / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.8457, allocations: 201.5 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8457, allocations: 4 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.8458, allocations: 11.98 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.8458, allocations: 0 / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.8458, allocations: 11.88 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8458, allocations: 0 / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8459, allocations: 0 / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.8462, allocations: 207.3 kB / 1.025 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.8462, allocations: 89.02 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.8463, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.8464, allocations: 19.98 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.8465, allocations: 15.97 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.8465, allocations: 0 / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.329e-05/0.8466, allocations: 99.89 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8466, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002208/0.8468, allocations: 16 kB / 1.026 GB, free: 11.79 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 (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 Backend phase and start with SimCode phase: time 0.0001714/0.847, allocations: 99.25 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.8473, allocations: 87.88 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8473, allocations: 0 / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.8474, allocations: 35.97 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.8477, allocations: 19.84 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.8481, allocations: 216.9 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.8484, allocations: 0.7004 MB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.8485, allocations: 8.172 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.8485, allocations: 11.44 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8485, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.003314/0.8519, allocations: 0.8208 MB / 1.028 GB, free: 9.742 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches