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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001081/0.001081, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001179/0.001179, allocations: 168.7 kB / 15.95 MB, free: 204 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.535/1.535, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437.8 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004276, allocations: 19.94 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8238, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001174/0.8251, allocations: 0.5564 MB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.8262, allocations: 0.8741 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-05/0.8263, allocations: 3.938 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.8264, allocations: 19.8 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.8265, allocations: 15.86 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.8267, allocations: 19.97 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.8268, allocations: 91.77 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.8269, allocations: 32.14 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.827, allocations: 31.84 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.8271, allocations: 27.86 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.8272, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.022e-05/0.8272, allocations: 8 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.8272, allocations: 11.92 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.8273, allocations: 37.64 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.8274, allocations: 71.81 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8274, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8274, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8274, allocations: 0 / 1.024 GB, free: 14.21 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.0006467/0.828, allocations: 416.9 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.8281, allocations: 8.031 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.8282, allocations: 11.91 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.8284, allocations: 194.8 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.8284, allocations: 8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.8285, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.8287, allocations: 105.6 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8287, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.8288, allocations: 4 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8288, allocations: 4 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.829, allocations: 79.94 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.8296, allocations: 360.5 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.8299, allocations: 82.47 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.83, allocations: 40.92 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.83, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.83, allocations: 38.56 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.83, allocations: 0 / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004602/0.8305, allocations: 137.8 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.8306, allocations: 59.34 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.8307, allocations: 140.1 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.8307, allocations: 25.7 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.8308, allocations: 104 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.8308, allocations: 11.91 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.8308, allocations: 3.938 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8309, allocations: 318.8 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.8311, allocations: 39.92 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.998e-05/0.8312, allocations: 39.97 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.8313, allocations: 35.97 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8313, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000251/0.8316, allocations: 113.5 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8316, allocations: 4 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8316, allocations: 4 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.8316, allocations: 3.984 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.8317, allocations: 11.98 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.8317, allocations: 4 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.8318, allocations: 23.94 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.8319, allocations: 8 kB / 1.027 GB, free: 11.6 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.764e-05/0.832, allocations: 125.8 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.832, allocations: 7.906 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.8321, allocations: 8.25 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8321, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8321, allocations: 192 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8321, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.8323, allocations: 205.5 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8323, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.8324, allocations: 11.98 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.8324, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.8324, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8324, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.8324, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.8327, allocations: 211.3 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.8328, allocations: 81.02 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.8328, allocations: 4 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.8329, allocations: 23.98 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.833, allocations: 15.91 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.833, allocations: 4 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.8331, allocations: 101 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8331, allocations: 0 / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002182/0.8333, allocations: 11.91 kB / 1.027 GB, free: 10.7 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.000176/0.8335, allocations: 111.2 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.8338, allocations: 75.95 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8338, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.8339, allocations: 43.91 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.8342, allocations: 15.94 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.8347, allocations: 205 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.835, allocations: 0.6965 MB / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.319e-05/0.835, allocations: 8.188 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.8351, allocations: 11.44 kB / 1.028 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8351, allocations: 0 / 1.028 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of Templates: time 0.003653/0.8387, allocations: 0.8295 MB / 1.029 GB, free: 8.648 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