Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 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.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 100 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.001648/0.001648, 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.525/1.525, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 8 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8553/0.8557, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.0009877/0.8567, allocations: 497.1 kB / 1.021 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.8577, allocations: 0.8507 MB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.41e-05/0.8578, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.8578, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.8579, allocations: 15.97 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.8581, allocations: 23.97 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.984e-05/0.8582, allocations: 51.88 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.8583, allocations: 19.97 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.448e-05/0.8584, allocations: 31.91 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.8585, allocations: 39.83 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.8585, allocations: 8 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.8585, allocations: 4 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.8586, allocations: 19.91 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.8586, allocations: 33.64 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.8587, allocations: 59.8 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8587, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8587, allocations: 0 / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.8587, allocations: 4 kB / 1.022 GB, free: 15.4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006594/0.8594, allocations: 385.1 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.8595, allocations: 11.98 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.8595, allocations: 7.906 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8597, allocations: 186.8 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.8597, allocations: 4 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.8597, allocations: 8 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.86, allocations: 117.6 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.86, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.8601, allocations: 0 / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8601, allocations: 7.938 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.8604, allocations: 119.9 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.861, allocations: 344.6 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.8616, allocations: 138.5 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.8617, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.8617, allocations: 34.55 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.8617, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006562/0.8624, allocations: 221.5 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.8624, allocations: 51.41 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.8625, allocations: 121.8 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.8625, allocations: 25.7 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.8626, allocations: 92.14 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.8626, allocations: 23.58 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.8626, allocations: 8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8628, allocations: 314.8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.8629, allocations: 55.95 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.8631, allocations: 63.95 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.8633, allocations: 52.42 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8633, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004026/0.8637, allocations: 161.5 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8637, allocations: 8 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8638, allocations: 4 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.8638, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.8639, allocations: 31.91 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8639, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.8641, allocations: 19.98 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.8641, allocations: 4 kB / 1.025 GB, free: 12.62 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 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001043/0.8642, allocations: 125.8 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.8642, allocations: 3.906 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.8643, allocations: 12.38 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.8643, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8643, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.8643, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.8645, allocations: 201.6 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8645, allocations: 4 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.8647, allocations: 31.97 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8647, allocations: 3.938 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.8647, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.8647, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.8647, allocations: 7.938 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.8652, allocations: 255.3 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.8653, allocations: 85.02 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.8653, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8654, allocations: 19.97 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.8655, allocations: 23.97 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.8655, allocations: 0 / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.8656, allocations: 99.64 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8656, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002844/0.8659, allocations: 19.94 kB / 1.026 GB, free: 11.64 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000134/0.866, allocations: 99.25 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.8665, allocations: 131.8 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8665, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.8667, allocations: 67.95 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.8669, allocations: 12.31 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.8673, allocations: 189.2 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.8677, allocations: 0.7004 MB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.02e-05/0.8677, allocations: 8.188 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.8678, allocations: 19.42 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8678, allocations: 0 / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.003585/0.8714, allocations: 1.304 MB / 1.028 GB, free: 9.07 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches