Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 105.4 kB / 15.98 MB, free: 6.359 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.001592/0.001592, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.477/1.477, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.591/2.591, allocations: 437.1 MB / 0.7107 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.11 kB / 0.8694 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2919, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002114/0.2941, allocations: 0.7776 MB / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2951, allocations: 0.8288 MB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.2952, allocations: 0 / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.2952, allocations: 7.922 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.109e-05/0.2953, allocations: 0 / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2955, allocations: 27.98 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.2955, allocations: 43.86 kB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2957, allocations: 19.97 kB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.2958, allocations: 19.92 kB / 1.019 GB, free: 9.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.2958, allocations: 23.86 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2958, allocations: 4 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.2959, allocations: 4 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.2959, allocations: 15.97 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.2959, allocations: 23.88 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.327e-05/0.296, allocations: 27.92 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.296, allocations: 4 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.422e-06/0.296, allocations: 0 / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.296, allocations: 0 / 1.019 GB, free: 9.137 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005708/0.2966, allocations: 355.6 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2967, allocations: 16.02 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.2967, allocations: 0.9375 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2969, allocations: 168.3 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2969, allocations: 8.375 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2969, allocations: 8.375 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.2972, allocations: 73.77 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2972, allocations: 0 / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2972, allocations: 3.938 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2972, allocations: 0 / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.2974, allocations: 51.94 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.2979, allocations: 296.6 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.2981, allocations: 70.5 kB / 1.02 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2982, allocations: 28.88 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.2983, allocations: 4 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2983, allocations: 34.56 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2983, allocations: 0 / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003977/0.2987, allocations: 101.6 kB / 1.02 GB, free: 7.773 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.2988, allocations: 55.39 kB / 1.02 GB, free: 7.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.2989, allocations: 109.9 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2989, allocations: 33.64 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.299, allocations: 88.12 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.299, allocations: 11.81 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.299, allocations: 21.66 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2992, allocations: 318.8 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2993, allocations: 19.98 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.371e-05/0.2994, allocations: 23.97 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.2996, allocations: 60.81 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2996, allocations: 0 / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002452/0.2998, allocations: 81.64 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2999, allocations: 6.656 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2999, allocations: 0 / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2999, allocations: 0 / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3, allocations: 15.92 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3, allocations: 4 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.181e-05/0.3001, allocations: 7.984 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3001, allocations: 4 kB / 1.021 GB, free: 6.875 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: 2 (reaToInt.y,intLesEquThr.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.0001026/0.3002, allocations: 113.8 kB / 1.021 GB, free: 6.754 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.3002, allocations: 7.906 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3003, allocations: 7.906 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3003, allocations: 0 / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3003, allocations: 0 / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3003, allocations: 8 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.3005, allocations: 181.6 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3005, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.3006, allocations: 11.98 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3006, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3007, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3007, allocations: 4 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3007, allocations: 0 / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.301, allocations: 187.7 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.301, allocations: 89 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.3011, allocations: 4.047 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3012, allocations: 15.86 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.3012, allocations: 11.98 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-06/0.3013, allocations: 4 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001139/0.3014, allocations: 87.27 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3014, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002157/0.3016, allocations: 12 kB / 1.022 GB, free: 6.047 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0001387/0.3017, allocations: 103.7 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.302, allocations: 59.88 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.302, allocations: 0 / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3021, allocations: 31.97 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3024, allocations: 4 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.3028, allocations: 163.3 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.3032, allocations: 0.6846 MB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.3032, allocations: 11.44 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3032, allocations: 0 / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of Templates: time 0.002312/0.3055, allocations: 0.8172 MB / 1.024 GB, free: 4.117 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches