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.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.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.001339/0.001339, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001368/0.001368, allocations: 191 kB / 17.29 MB, free: 5.516 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 14.99 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.577/2.577, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.59 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00219/0.3432, allocations: 0.713 MB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.3442, allocations: 0.839 MB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.3443, allocations: 0 / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.3443, allocations: 7.938 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.545e-05/0.3444, allocations: 7.938 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.3446, allocations: 19.97 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.48e-05/0.3446, allocations: 43.84 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3448, allocations: 19.98 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.367e-05/0.3449, allocations: 23.92 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.3449, allocations: 23.91 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.345, allocations: 7.938 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.345, allocations: 4 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.345, allocations: 15.98 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.345, allocations: 15.88 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3452, allocations: 47.84 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3452, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3452, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3452, allocations: 0 / 1.021 GB, free: 8.051 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.0005456/0.3457, allocations: 355.3 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3458, allocations: 8.031 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3458, allocations: 4.938 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.346, allocations: 184.3 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.346, allocations: 384 / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.346, allocations: 4.375 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3462, allocations: 69.72 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3462, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3462, allocations: 3.938 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3463, allocations: 7.938 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3465, allocations: 51.95 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.3469, allocations: 296.6 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3471, allocations: 62.48 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3473, allocations: 40.89 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3473, allocations: 0 / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3473, allocations: 34.56 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3473, allocations: 0 / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.00041/0.3477, allocations: 105.6 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.3478, allocations: 51.41 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.3479, allocations: 109.8 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3479, allocations: 29.7 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.348, allocations: 88.14 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.348, allocations: 11.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.348, allocations: 17.72 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3481, allocations: 318.8 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3482, allocations: 27.97 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.3483, allocations: 23.97 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.3485, allocations: 52.81 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3486, allocations: 0 / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002156/0.3488, allocations: 81.66 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3488, allocations: 8 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3488, allocations: 3.938 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3488, allocations: 0 / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.349, allocations: 11.98 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.349, allocations: 4 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.349, allocations: 7.984 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3491, allocations: 0 / 1.023 GB, free: 5.793 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 9.56e-05/0.3492, allocations: 118.4 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3492, allocations: 7.891 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.3492, allocations: 7.906 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3492, allocations: 0 / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3492, allocations: 3.938 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3493, allocations: 0 / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.3494, allocations: 189.5 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3495, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/0.3495, allocations: 15.98 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3496, allocations: 0 / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3496, allocations: 0 / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3496, allocations: 0 / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3496, allocations: 0 / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.3499, allocations: 187.4 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.3499, allocations: 89.33 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3499, allocations: 0 / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.35, allocations: 7.984 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.3501, allocations: 11.98 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3501, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.3502, allocations: 91.27 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3502, allocations: 0 / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002189/0.3504, allocations: 8 kB / 1.023 GB, free: 4.973 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.0001239/0.3505, allocations: 107.2 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.3508, allocations: 59.89 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3508, allocations: 0 / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3509, allocations: 31.97 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3513, allocations: 4 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.3516, allocations: 135.1 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3519, allocations: 0.6807 MB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.3519, allocations: 4 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.352, allocations: 15.42 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/0.352, allocations: 4 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of Templates: time 0.00334/0.3553, allocations: 0.8984 MB / 1.025 GB, free: 2.984 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=480 -s gbode -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