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.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.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.0009538/0.0009538, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005276/0.005276, allocations: 170 kB / 16.26 MB, free: 6.613 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.468/2.468, allocations: 462.7 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 8.625 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2304, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.0007369/0.2312, allocations: 447.5 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.232, allocations: 0.839 MB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.2321, allocations: 0 / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.2321, allocations: 3.938 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.2322, allocations: 11.92 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.2323, allocations: 15.98 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.2323, allocations: 43.86 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.2324, allocations: 15.97 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.2325, allocations: 15.94 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.2326, allocations: 23.91 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2326, allocations: 0 / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.2326, allocations: 4 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.2326, allocations: 7.984 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2327, allocations: 45.56 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.163e-05/0.2327, allocations: 39.86 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2327, allocations: 0 / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2328, allocations: 0 / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.085e-06/0.2328, allocations: 0 / 1.06 GB, free: 3.406 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.0004055/0.2332, allocations: 355.7 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2332, allocations: 15.97 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.2332, allocations: 34.75 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.2333, allocations: 4.938 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2334, allocations: 180.1 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2334, allocations: 4.375 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.2334, allocations: 384 / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2336, allocations: 77.59 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-06/0.2336, allocations: 0 / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2336, allocations: 4 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2337, allocations: 4 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.2339, allocations: 59.95 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.2342, allocations: 292.8 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.2344, allocations: 66.55 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2345, allocations: 36.91 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2346, allocations: 3.938 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.2346, allocations: 30.56 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2346, allocations: 0 / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003871/0.235, allocations: 133.7 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.235, allocations: 51.41 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.2351, allocations: 105.8 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2351, allocations: 29.7 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2352, allocations: 92.12 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2352, allocations: 11.89 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.2352, allocations: 13.72 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.2353, allocations: 314.8 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.2354, allocations: 31.97 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/0.2355, allocations: 43.89 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.2357, allocations: 52.83 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2357, allocations: 4 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002392/0.236, allocations: 105.6 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.236, allocations: 4 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.236, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.236, allocations: 0 / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.2361, allocations: 15.98 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2361, allocations: 4.312 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.282e-05/0.2362, allocations: 11.98 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2362, allocations: 0 / 1.062 GB, free: 1.023 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 6.607e-05/0.2363, allocations: 117.8 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.2363, allocations: 7.891 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.2363, allocations: 7.906 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2363, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2364, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2364, allocations: 4 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2365, allocations: 189.5 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2365, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.16e-05/0.2366, allocations: 15.92 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2366, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2366, allocations: 7.938 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2367, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2367, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.2369, allocations: 191.4 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.237, allocations: 85.02 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.237, allocations: 0 / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2371, allocations: 15.98 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.2371, allocations: 11.98 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.2372, allocations: 0 / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.2372, allocations: 95.25 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2372, allocations: 0 / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002041/0.2374, allocations: 7.938 kB / 1.063 GB, free: 188 kB / 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.0005303/0.238, allocations: 0.7241 MB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.2382, allocations: 72.17 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2382, allocations: 0 / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.2383, allocations: 36.02 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.2386, allocations: 8.078 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2399, allocations: 1.363 MB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.2401, allocations: 0.6809 MB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.2402, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.2402, allocations: 23.42 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2402, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.001/1.241, allocations: 1.532 MB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/1.241, allocations: 223.3 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.868, allocations: 0 / 1.068 GB, free: 11.53 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