Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 105.7 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.001136/0.001136, allocations: 189.8 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.363/1.363, 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 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.2 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 62.58 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2943, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002547/0.2969, allocations: 0.6994 MB / 0.951 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.298, allocations: 0.841 MB / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.298, allocations: 0 / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.2981, allocations: 0 / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.2982, allocations: 3.938 kB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.2983, allocations: 27.91 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.2984, allocations: 43.92 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2986, allocations: 19.97 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.2986, allocations: 15.94 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.2987, allocations: 27.91 kB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2987, allocations: 7.938 kB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.799e-05/0.2988, allocations: 4 kB / 0.9519 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2988, allocations: 11.92 kB / 0.9519 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.2988, allocations: 19.92 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.861e-05/0.2989, allocations: 43.8 kB / 0.952 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2989, allocations: 0 / 0.952 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.299, allocations: 8 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.299, allocations: 0 / 0.952 GB, free: 7.074 MB / 0.7325 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.0006017/0.2996, allocations: 359.6 kB / 0.9524 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2996, allocations: 8.031 kB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.2997, allocations: 8.922 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.2999, allocations: 176.2 kB / 0.9525 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2999, allocations: 4.375 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.2999, allocations: 384 / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3001, allocations: 73.78 kB / 0.9526 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3001, allocations: 0 / 0.9526 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3002, allocations: 4 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3002, allocations: 0 / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.3004, allocations: 47.95 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.3009, allocations: 300.7 kB / 0.9529 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3012, allocations: 58.55 kB / 0.953 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3013, allocations: 32.91 kB / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3013, allocations: 0 / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3013, allocations: 30.56 kB / 0.9531 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3014, allocations: 4 kB / 0.9531 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004417/0.3018, allocations: 113.5 kB / 0.9532 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3018, allocations: 51.41 kB / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.3019, allocations: 105.8 kB / 0.9533 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.302, allocations: 25.7 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.302, allocations: 92.12 kB / 0.9534 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3021, allocations: 11.89 kB / 0.9534 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.3021, allocations: 21.66 kB / 0.9535 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3022, allocations: 326.8 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3023, allocations: 19.98 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.3024, allocations: 23.97 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3026, allocations: 48.81 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3027, allocations: 4 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002577/0.3029, allocations: 85.59 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3029, allocations: 4 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.303, allocations: 4 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.303, allocations: 3.984 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3031, allocations: 11.98 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3031, allocations: 4.25 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.3032, allocations: 4 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3032, allocations: 7.984 kB / 0.954 GB, free: 4.816 MB / 0.7325 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,intLesThr.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 8.731e-05/0.3033, allocations: 121.6 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.3034, allocations: 7.906 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.3034, allocations: 11.89 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3034, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3034, allocations: 4 kB / 0.9541 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.3034, allocations: 0 / 0.9541 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3036, allocations: 185.5 kB / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3036, allocations: 0 / 0.9543 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.3037, allocations: 19.92 kB / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3037, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3038, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3038, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3038, allocations: 0 / 0.9543 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.3041, allocations: 179.4 kB / 0.9545 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.3041, allocations: 89.02 kB / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3041, allocations: 3.984 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3042, allocations: 4 kB / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.3043, allocations: 11.98 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3043, allocations: 4 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.3044, allocations: 91.25 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3044, allocations: 0 / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000231/0.3046, allocations: 8 kB / 0.9547 GB, free: 3.996 MB / 0.7325 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 (intLesThr.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.0001332/0.3048, allocations: 115.1 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002706/0.305, allocations: 59.94 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3051, allocations: 0 / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.3052, allocations: 31.97 kB / 0.9549 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3055, allocations: 5.031 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.3059, allocations: 155.2 kB / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3062, allocations: 0.6883 MB / 0.9557 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.3062, allocations: 15.44 kB / 0.9557 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.3062, allocations: 0 / 0.9557 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of Templates: time 0.002318/0.3085, allocations: 0.8142 MB / 0.9565 GB, free: 2.062 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches