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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00816/0.00816, allocations: 103.7 kB / 15.74 MB, free: 6.043 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.002187/0.002187, allocations: 201.8 kB / 16.68 MB, free: 5.965 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.89 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2844, allocations: 162.2 MB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001953/0.2864, allocations: 0.8267 MB / 1.242 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2875, allocations: 0.8623 MB / 1.243 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.2876, allocations: 8 kB / 1.243 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2878, allocations: 11.81 kB / 1.243 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.2878, allocations: 19.86 kB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.288, allocations: 19.92 kB / 1.243 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2881, allocations: 71.83 kB / 1.243 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.2882, allocations: 35.97 kB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.2883, allocations: 27.86 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.456e-05/0.2884, allocations: 31.8 kB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2884, allocations: 4 kB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.2884, allocations: 8 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.2885, allocations: 15.92 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.2885, allocations: 31.8 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.2886, allocations: 71.69 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2887, allocations: 4 kB / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2887, allocations: 0 / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2887, allocations: 4 kB / 1.244 GB, free: 8.102 MB / 0.9981 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.0005469/0.2892, allocations: 395 kB / 1.244 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2893, allocations: 11.97 kB / 1.244 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.2893, allocations: 38.75 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2893, allocations: 8.891 kB / 1.244 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.2896, allocations: 204.2 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2896, allocations: 4.375 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.2896, allocations: 4.375 kB / 1.244 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2898, allocations: 66.17 kB / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2898, allocations: 3.938 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2898, allocations: 0 / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2898, allocations: 4 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.29, allocations: 35.91 kB / 1.244 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.2905, allocations: 316.7 kB / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.2906, allocations: 50.58 kB / 1.245 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.2907, allocations: 16.92 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2907, allocations: 4 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.2907, allocations: 30.56 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2908, allocations: 4 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002547/0.291, allocations: 77.7 kB / 1.245 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2911, allocations: 51.41 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2912, allocations: 139.2 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2912, allocations: 25.7 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.2913, allocations: 104.1 kB / 1.245 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.2913, allocations: 3.953 kB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.2914, allocations: 17.72 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2915, allocations: 326.8 kB / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.2916, allocations: 12 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.2916, allocations: 15.98 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.2917, allocations: 24.84 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2917, allocations: 4 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001569/0.2919, allocations: 69.62 kB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2919, allocations: 4 kB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2919, allocations: 0 / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2919, allocations: 0 / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.292, allocations: 8.266 kB / 1.246 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.292, allocations: 7.984 kB / 1.246 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.2921, allocations: 11.98 kB / 1.246 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.2921, allocations: 11.88 kB / 1.246 GB, free: 5.797 MB / 0.9981 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 9.821e-05/0.2922, allocations: 130.3 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.2923, allocations: 7.953 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.2923, allocations: 8.234 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2923, allocations: 4 kB / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2923, allocations: 0 / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2923, allocations: 0 / 1.246 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.2925, allocations: 185.6 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2926, allocations: 0 / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.2926, allocations: 7.984 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2926, allocations: 4 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2926, allocations: 7.938 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2926, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2926, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.2928, allocations: 163.4 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.2929, allocations: 85.06 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2929, allocations: 0 / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.293, allocations: 15.98 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.2931, allocations: 7.984 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.2931, allocations: 0 / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.916e-05/0.2932, allocations: 109.1 kB / 1.246 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2932, allocations: 0 / 1.246 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002287/0.2934, allocations: 12 kB / 1.246 GB, free: 4.965 MB / 0.9981 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.0006073/0.294, allocations: 0.6968 MB / 1.247 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2942, allocations: 31.98 kB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2942, allocations: 0 / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.2943, allocations: 15.98 kB / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2945, allocations: 8 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.296, allocations: 1.395 MB / 1.248 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2964, allocations: 0.6885 MB / 1.249 GB, free: 2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.862e-05/0.2964, allocations: 8.312 kB / 1.249 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.2965, allocations: 23.42 kB / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.2965, allocations: 0 / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.3183, allocations: 1.994 MB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.12, allocations: 10.38 kB / 1.251 GB, free: 88 kB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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