Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001174/0.001174, allocations: 195.7 kB / 16.14 MB, free: 6.66 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.338/2.338, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 71.66 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.224, allocations: 157.4 MB / 1.052 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001865/0.2259, allocations: 0.8765 MB / 1.053 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.2267, allocations: 0.8818 MB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.2268, allocations: 4 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.227, allocations: 11.86 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.367e-05/0.227, allocations: 7.938 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.2271, allocations: 23.97 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.2272, allocations: 67.78 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2273, allocations: 31.92 kB / 1.054 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.2274, allocations: 23.92 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.2275, allocations: 31.84 kB / 1.054 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2275, allocations: 0 / 1.054 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.2275, allocations: 4 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.2276, allocations: 15.92 kB / 1.054 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.2276, allocations: 31.73 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.2277, allocations: 75.97 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2277, allocations: 4 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2277, allocations: 0 / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.2277, allocations: 0 / 1.054 GB, free: 6.094 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004359/0.2282, allocations: 379.2 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2282, allocations: 11.97 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.2282, allocations: 42.73 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.2283, allocations: 8.844 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2284, allocations: 192.2 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.2284, allocations: 12.31 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.2285, allocations: 8.312 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.2286, allocations: 66.17 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2286, allocations: 3.938 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2286, allocations: 0 / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2286, allocations: 3.984 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.513e-05/0.2287, allocations: 31.98 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.2291, allocations: 324.6 kB / 1.055 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.2293, allocations: 46.66 kB / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.878e-05/0.2293, allocations: 20.91 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.2294, allocations: 4 kB / 1.055 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2294, allocations: 30.66 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2294, allocations: 3.938 kB / 1.055 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002218/0.2296, allocations: 77.56 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.2297, allocations: 51.41 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.2297, allocations: 131.4 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.2298, allocations: 33.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.2298, allocations: 104 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.2298, allocations: 7.891 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.2299, allocations: 17.72 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.23, allocations: 322.8 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.23, allocations: 12 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.2301, allocations: 19.98 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.2302, allocations: 32.78 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2302, allocations: 0 / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.2303, allocations: 69.58 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2303, allocations: 4 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2303, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2303, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.2304, allocations: 4 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2304, allocations: 0 / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.2305, allocations: 15.98 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.2305, allocations: 7.938 kB / 1.056 GB, free: 3.801 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 6.633e-05/0.2306, allocations: 113.8 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2306, allocations: 11.89 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.2306, allocations: 12.19 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2306, allocations: 3.938 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2307, allocations: 3.938 kB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2307, allocations: 4 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.2308, allocations: 181.6 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2308, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.2309, allocations: 11.98 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2309, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2309, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2309, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2309, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.231, allocations: 159.7 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.2311, allocations: 89.14 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2311, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.2312, allocations: 11.98 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.2313, allocations: 7.984 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.2313, allocations: 4 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.453e-05/0.2313, allocations: 116.4 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2313, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002313/0.2316, allocations: 11.94 kB / 1.057 GB, free: 2.977 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003845/0.232, allocations: 0.6929 MB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.2321, allocations: 31.98 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2321, allocations: 3.938 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.2322, allocations: 19.98 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2324, allocations: 7.938 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2336, allocations: 1.391 MB / 1.059 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2338, allocations: 0.6887 MB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.2338, allocations: 11.94 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.2339, allocations: 23.42 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.2339, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7124/0.9463, allocations: 1.733 MB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/0.9466, allocations: 223.3 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.517, allocations: 3.25 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches