Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.00124/0.00124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001347/0.001347, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001313, allocations: 65.62 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3057, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001915/0.3077, allocations: 0.7758 MB / 1.053 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008838/0.3086, allocations: 0.8351 MB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.3086, allocations: 0 / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.3087, allocations: 7.875 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.3087, allocations: 4 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.499e-05/0.3088, allocations: 27.91 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.3089, allocations: 43.86 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.309, allocations: 19.97 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.309, allocations: 15.94 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.3091, allocations: 23.91 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3091, allocations: 4 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.3091, allocations: 4 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.3091, allocations: 15.98 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.3091, allocations: 23.86 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.82e-05/0.3092, allocations: 43.86 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3092, allocations: 0 / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3092, allocations: 0 / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.3092, allocations: 0 / 1.054 GB, free: 6.781 MB / 0.8106 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.0003973/0.3097, allocations: 355.7 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.537e-05/0.3097, allocations: 8.625 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.375e-05/0.3097, allocations: 34.75 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.716e-05/0.3097, allocations: 8.844 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3099, allocations: 176.3 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3099, allocations: 12.3 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.3099, allocations: 4.375 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3101, allocations: 69.59 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-06/0.3101, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.3101, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.3101, allocations: 0 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/0.3103, allocations: 59.89 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3106, allocations: 288.7 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3108, allocations: 62.48 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.311, allocations: 36.91 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.311, allocations: 0 / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.311, allocations: 34.56 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.311, allocations: 0 / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003429/0.3114, allocations: 109.6 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.3114, allocations: 51.41 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.3115, allocations: 109.8 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3115, allocations: 25.7 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.3115, allocations: 96.03 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.3115, allocations: 3.906 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.3116, allocations: 17.72 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3117, allocations: 318.8 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.3118, allocations: 27.98 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.3119, allocations: 32.09 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3121, allocations: 52.89 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3121, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002526/0.3123, allocations: 89.58 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.3123, allocations: 5.094 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.3124, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3124, allocations: 8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.3125, allocations: 7.984 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.3125, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.3126, allocations: 7.984 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3126, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 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,intGreThr.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 7.55e-05/0.3126, allocations: 117.8 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.3127, allocations: 3.906 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.3127, allocations: 7.906 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3127, allocations: 4 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3127, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3127, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.3129, allocations: 193.5 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3129, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.313, allocations: 11.98 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.313, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.313, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.313, allocations: 3.938 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3131, allocations: 0 / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3133, allocations: 187.4 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.3134, allocations: 85.09 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.3134, allocations: 4 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.3135, allocations: 7.984 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.3135, allocations: 8 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3135, allocations: 3.984 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.3136, allocations: 91.59 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3136, allocations: 0 / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002091/0.3138, allocations: 7.938 kB / 1.057 GB, free: 3.656 MB / 0.8106 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 (intGreThr.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.0005371/0.3144, allocations: 0.724 MB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.3146, allocations: 55.94 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3146, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3147, allocations: 40.14 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.315, allocations: 5.547 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3164, allocations: 1.338 MB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3167, allocations: 0.6807 MB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.676e-05/0.3168, allocations: 8 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.3168, allocations: 19.36 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3168, allocations: 0 / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.96/3.277, allocations: 1.663 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/3.277, allocations: 215.6 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/5.227, allocations: 0 / 1.062 GB, free: 14.91 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches