Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.001273/0.001273, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.648/2.648, allocations: 437.1 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 67.73 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3394, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002486/0.342, allocations: 0.817 MB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3433, allocations: 0.8701 MB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.3435, allocations: 4 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.3436, allocations: 15.8 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.3437, allocations: 7.922 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.3439, allocations: 35.91 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3441, allocations: 75.84 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3442, allocations: 35.81 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3443, allocations: 35.78 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.3445, allocations: 31.86 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.3445, allocations: 8 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.3445, allocations: 4 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.3445, allocations: 11.92 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.3446, allocations: 31.81 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3447, allocations: 76.02 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3447, allocations: 0 / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3448, allocations: 4 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3448, allocations: 0 / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000672/0.3454, allocations: 387.1 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3455, allocations: 8.922 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.3456, allocations: 8.844 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3458, allocations: 204.1 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3459, allocations: 384 / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.3459, allocations: 4.375 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3461, allocations: 62.23 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3461, allocations: 4.172 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3461, allocations: 15.86 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3461, allocations: 4 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.3462, allocations: 31.92 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.3468, allocations: 320.7 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.347, allocations: 50.66 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.3471, allocations: 18.47 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3471, allocations: 4 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.3471, allocations: 30.56 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.3471, allocations: 0 / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0002821/0.3474, allocations: 81.52 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3475, allocations: 51.41 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3476, allocations: 136.3 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3476, allocations: 25.7 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.3477, allocations: 104 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.3478, allocations: 3.906 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.3478, allocations: 21.7 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.348, allocations: 322.8 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.348, allocations: 23.92 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.296e-05/0.3481, allocations: 12 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.076e-05/0.3482, allocations: 28.83 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3482, allocations: 0 / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001501/0.3484, allocations: 69.53 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3484, allocations: 4 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.3484, allocations: 4 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3484, allocations: 8 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.3485, allocations: 7.984 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3485, allocations: 4 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.3486, allocations: 7.984 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3486, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 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 (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 prepare postOptimizeDAE: time 0.000104/0.3487, allocations: 117.8 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3488, allocations: 7.906 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.3488, allocations: 12.25 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3488, allocations: 7.984 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3488, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3488, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.349, allocations: 181.6 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3491, allocations: 3.938 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.3491, allocations: 4 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3491, allocations: 0 / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3491, allocations: 0 / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3491, allocations: 4 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3491, allocations: 336 / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.3493, allocations: 171.3 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.3494, allocations: 81.09 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.3494, allocations: 0 / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3496, allocations: 11.98 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.3496, allocations: 11.98 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3496, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.41e-05/0.3497, allocations: 107.2 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3497, allocations: 4 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000228/0.35, allocations: 11.94 kB / 1.023 GB, free: 5.438 MB / 0.795 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 (3): * Single equations (assignments): 3 * 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.000174/0.3501, allocations: 99.25 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.3503, allocations: 39.91 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3503, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.3504, allocations: 15.98 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.3507, allocations: 15.94 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.3512, allocations: 188.4 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3516, allocations: 0.702 MB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.3516, allocations: 7.438 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3516, allocations: 4 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of Templates: time 0.0029/0.3545, allocations: 0.9743 MB / 1.025 GB, free: 3.336 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches