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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.566/2.566, allocations: 469.4 MB / 0.742 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 65.09 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2983, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002296/0.3007, allocations: 0.7049 MB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3019, allocations: 0.8351 MB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.3019, allocations: 0 / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.266e-05/0.302, allocations: 11.86 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-05/0.3021, allocations: 3.938 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.3023, allocations: 15.98 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3024, allocations: 59.83 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3026, allocations: 12 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3027, allocations: 19.92 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.3028, allocations: 35.83 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3028, allocations: 4 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.3028, allocations: 4 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.3028, allocations: 8 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.3029, allocations: 23.86 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.303, allocations: 43.84 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.303, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.844e-06/0.303, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.303, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 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.0005188/0.3036, allocations: 359.7 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3036, allocations: 8.031 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.3037, allocations: 30.75 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.3037, allocations: 8.844 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3038, allocations: 168.3 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3039, allocations: 8.375 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3039, allocations: 4.375 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.3041, allocations: 73.52 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3041, allocations: 4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.3041, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3041, allocations: 4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3043, allocations: 43.95 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.3047, allocations: 292.7 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3049, allocations: 70.47 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3051, allocations: 34.59 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3051, allocations: 3.938 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.3051, allocations: 38.53 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3051, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004195/0.3055, allocations: 105.6 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.3056, allocations: 55.41 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.3057, allocations: 109.8 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3057, allocations: 25.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.3058, allocations: 92.05 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.3058, allocations: 3.906 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.3058, allocations: 21.7 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.3059, allocations: 322.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.306, allocations: 23.97 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.3061, allocations: 27.92 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3063, allocations: 48.81 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3063, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002317/0.3066, allocations: 85.64 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3066, allocations: 4 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3066, allocations: 4 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3066, allocations: 3.938 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3068, allocations: 11.98 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3068, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.3069, allocations: 15.89 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3069, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 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.209e-05/0.307, allocations: 117.8 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.307, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.307, allocations: 15.89 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.307, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.307, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3071, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.3072, allocations: 177.5 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3072, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.3073, allocations: 11.98 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3074, allocations: 3.984 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3074, allocations: 11.94 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3074, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3074, allocations: 320 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.3077, allocations: 187.3 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.3077, allocations: 81.11 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3078, allocations: 4 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.3079, allocations: 11.98 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3079, allocations: 12.36 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3079, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.308, allocations: 91.27 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.308, allocations: 0 / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002179/0.3082, allocations: 7.938 kB / 1.068 GB, free: 9.617 MB / 0.8262 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.0005885/0.3088, allocations: 0.7284 MB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3091, allocations: 51.95 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3091, allocations: 0 / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3092, allocations: 31.97 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.3095, allocations: 12 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.311, allocations: 1.315 MB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3112, allocations: 0.6807 MB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.288e-05/0.3113, allocations: 8 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.3113, allocations: 23.42 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of SimCode: time 4.8e-07/0.3113, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.3278, allocations: 1.83 MB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.44, allocations: 7.172 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/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