Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001182/0.001182, allocations: 105.1 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.001206/0.001206, 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 70.59 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3249, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002515/0.3275, allocations: 0.7034 MB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3289, allocations: 0.8429 MB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.329, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.329, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/0.3292, allocations: 3.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.3294, allocations: 23.91 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.3295, allocations: 51.84 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.3296, allocations: 15.98 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.3297, allocations: 19.92 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.3298, allocations: 23.92 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.3298, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.3299, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.3299, allocations: 15.97 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.33, allocations: 15.88 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3301, allocations: 51.84 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3301, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3301, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3301, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8419 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.0006669/0.3308, allocations: 359.7 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3309, allocations: 8.625 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.3309, allocations: 4.844 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3311, allocations: 172.3 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3312, allocations: 8.359 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3312, allocations: 384 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3315, allocations: 73.78 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3315, allocations: 0 / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3315, allocations: 4 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3315, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.3317, allocations: 47.95 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.3323, allocations: 296.6 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.3326, allocations: 66.55 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3327, allocations: 28.91 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3327, allocations: 8 kB / 1.067 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3328, allocations: 34.56 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.3328, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004532/0.3332, allocations: 113.5 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3333, allocations: 55.41 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.3334, allocations: 105.8 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3334, allocations: 29.7 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.3334, allocations: 88.05 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.3335, allocations: 7.906 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.3335, allocations: 17.7 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3336, allocations: 318.8 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.3338, allocations: 27.97 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3339, allocations: 28.16 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3341, allocations: 48.91 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3341, allocations: 3.938 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002468/0.3343, allocations: 89.64 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3344, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3344, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3344, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.3345, allocations: 11.98 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3345, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.3346, allocations: 15.89 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3346, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 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.0001262/0.3348, allocations: 117.8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3348, allocations: 7.984 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.3348, allocations: 7.906 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3348, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3349, allocations: 4 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3349, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3351, allocations: 177.5 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3351, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3352, allocations: 19.92 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3352, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3352, allocations: 7.938 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3352, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3352, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.3356, allocations: 183.3 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.3356, allocations: 77.11 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3357, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3358, allocations: 15.98 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.3358, allocations: 11.98 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3358, allocations: 4 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.3359, allocations: 83.27 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3359, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002295/0.3361, allocations: 12 kB / 1.069 GB, free: 10.16 MB / 0.8419 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.0001403/0.3363, allocations: 111.6 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.3366, allocations: 51.95 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3366, allocations: 0 / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.3367, allocations: 35.97 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.337, allocations: 1.719 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.3375, allocations: 163.1 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3378, allocations: 0.6848 MB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.3378, allocations: 19.42 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3378, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of Templates: time 0.002315/0.3402, allocations: 0.8138 MB / 1.07 GB, free: 8.238 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches