Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 107.3 kB / 16.36 MB, free: 6.285 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.00105/0.00105, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.467/2.467, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.25 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2762, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.001872/0.2781, allocations: 0.691 MB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007807/0.2789, allocations: 0.7884 MB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.279, allocations: 0 / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.279, allocations: 3.938 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.223e-05/0.2791, allocations: 0 / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.793e-05/0.2791, allocations: 11.98 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.2792, allocations: 19.94 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.2793, allocations: 11.98 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.2794, allocations: 11.94 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.2794, allocations: 11.97 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2794, allocations: 4 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.2794, allocations: 0 / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.2794, allocations: 7.938 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.2795, allocations: 15.86 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.212e-05/0.2795, allocations: 15.97 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2796, allocations: 4 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2796, allocations: 0 / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.2796, allocations: 11.94 kB / 1.02 GB, free: 8.199 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004054/0.28, allocations: 335.4 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.28, allocations: 12.03 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.2801, allocations: 8.844 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2802, allocations: 164.4 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2802, allocations: 4.375 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.2802, allocations: 384 / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.2804, allocations: 50.25 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.2804, allocations: 4.172 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.2804, allocations: 3.938 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2804, allocations: 0 / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.2806, allocations: 35.91 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.2809, allocations: 245 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.281, allocations: 46.48 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.2811, allocations: 24.91 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2811, allocations: 0 / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2812, allocations: 34.5 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.2812, allocations: 0 / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003156/0.2815, allocations: 93.48 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.2815, allocations: 51.41 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.2816, allocations: 105.8 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.2817, allocations: 25.7 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.2817, allocations: 80.14 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.2817, allocations: 0 / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.2818, allocations: 17.72 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2819, allocations: 319 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.282, allocations: 15.98 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.282, allocations: 15.98 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2822, allocations: 40.75 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2822, allocations: 64 / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001713/0.2824, allocations: 73.52 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2824, allocations: 4 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2824, allocations: 0 / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2824, allocations: 4 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.2825, allocations: 7.984 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2825, allocations: 3.938 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.2826, allocations: 12.23 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.2826, allocations: 4.031 kB / 1.022 GB, free: 6.168 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.515e-05/0.2826, allocations: 113.8 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.2827, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.2827, allocations: 7.125 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2827, allocations: 0 / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2827, allocations: 4 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2827, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.2829, allocations: 169.6 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2829, allocations: 0 / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.283, allocations: 15.92 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.283, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.283, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.283, allocations: 0 / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.283, allocations: 4 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.2832, allocations: 155.5 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.2833, allocations: 92.98 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.2833, allocations: 0 / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.2834, allocations: 11.98 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.2834, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2834, allocations: 4 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.2835, allocations: 79.28 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2835, allocations: 3.938 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000217/0.2837, allocations: 8 kB / 1.023 GB, free: 5.418 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001062/0.2838, allocations: 103.2 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.284, allocations: 39.91 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.284, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.2841, allocations: 23.97 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.2844, allocations: 9.234 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.2847, allocations: 107.3 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.2849, allocations: 0.6729 MB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.458e-05/0.2849, allocations: 3.984 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.285, allocations: 7.438 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of SimCode: time 1.473e-06/0.285, allocations: 0 / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of Templates: time 0.002532/0.2875, allocations: 0.4995 MB / 1.024 GB, free: 3.91 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches