Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001749/0.001749, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001921/0.001921, allocations: 197.2 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.71 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.8687 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6373, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002205/0.6396, allocations: 0.9262 MB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.6406, allocations: 0.8857 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.6407, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.6408, allocations: 11.92 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.6409, allocations: 7.875 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.641, allocations: 39.91 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.6412, allocations: 103.7 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.6413, allocations: 47.97 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.6414, allocations: 39.86 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.6415, allocations: 47.75 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.6415, allocations: 8 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.6416, allocations: 8 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.6416, allocations: 15.94 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.6416, allocations: 39.73 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.6418, allocations: 91.7 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6418, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6418, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.6418, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 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.0005872/0.6424, allocations: 413.1 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.6424, allocations: 12.03 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.6425, allocations: 12.83 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.6427, allocations: 204.1 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.6427, allocations: 4.375 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.6428, allocations: 8.375 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.643, allocations: 102.1 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.643, allocations: 192 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.643, allocations: 3.938 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.643, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.6433, allocations: 71.94 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.6438, allocations: 348.6 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.6441, allocations: 66.53 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.6442, allocations: 36.92 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.6442, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.6442, allocations: 34.56 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.6443, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004443/0.6447, allocations: 125.5 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.6447, allocations: 55.41 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.6449, allocations: 136.1 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.6449, allocations: 25.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.6449, allocations: 104 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.645, allocations: 11.81 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.645, allocations: 17.72 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6451, allocations: 318.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.6453, allocations: 39.97 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.6454, allocations: 27.97 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.6456, allocations: 56.75 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.6456, allocations: 3.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002789/0.6459, allocations: 105.7 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6459, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6459, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.6459, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.646, allocations: 11.98 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.646, allocations: 3.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.6461, allocations: 15.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.6462, allocations: 4 kB / 1.021 GB, free: 14.02 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.6463, allocations: 117.8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.6463, allocations: 7.906 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.6463, allocations: 12.19 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.6463, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6463, allocations: 3.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.6464, allocations: 3.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.6465, allocations: 193.6 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6465, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.6466, allocations: 15.98 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6466, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.6467, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6467, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6467, allocations: 3.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.647, allocations: 203.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.647, allocations: 77.11 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.647, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.6472, allocations: 19.97 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.6473, allocations: 15.92 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.6473, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.6473, allocations: 104.6 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6474, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002265/0.6476, allocations: 12 kB / 1.022 GB, free: 13.14 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001278/0.6477, allocations: 107.2 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.648, allocations: 63.94 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.648, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.6481, allocations: 39.91 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.6485, allocations: 20.11 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.6489, allocations: 215.1 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.6491, allocations: 0.6924 MB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.88e-05/0.6492, allocations: 7.984 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.6492, allocations: 15.38 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6493, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.002992/0.6523, allocations: 0.8981 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches