Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_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.00468/0.00468, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001455/0.001455, allocations: 194 kB / 16.68 MB, free: 5.969 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 71.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6728/0.6746, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001809/0.6764, allocations: 0.8203 MB / 1.221 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009461/0.6774, allocations: 0.8818 MB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.6775, allocations: 3.938 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.6776, allocations: 11.88 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.555e-05/0.6776, allocations: 11.86 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.6778, allocations: 31.95 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.6779, allocations: 75.78 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.678, allocations: 27.92 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.6781, allocations: 27.92 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.6782, allocations: 31.84 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.6782, allocations: 8 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.6782, allocations: 4 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.459e-05/0.6782, allocations: 15.92 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.6783, allocations: 27.81 kB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.6784, allocations: 78.42 kB / 1.222 GB, free: 16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.6784, allocations: 4 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6784, allocations: 3.938 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.6784, allocations: 3.938 kB / 1.222 GB, free: 15.98 MB / 0.9512 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.0005076/0.679, allocations: 396 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.679, allocations: 12.03 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.679, allocations: 34.75 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.6791, allocations: 8.891 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.6793, allocations: 204.1 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.6793, allocations: 4.375 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.6793, allocations: 4.375 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.6795, allocations: 66.17 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.6795, allocations: 7.938 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.6795, allocations: 4 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.6795, allocations: 0 / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.6796, allocations: 35.97 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.6801, allocations: 316.7 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.6802, allocations: 50.61 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.6803, allocations: 12.86 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.6803, allocations: 4 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.6803, allocations: 34.69 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.6803, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002264/0.6806, allocations: 73.66 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.6806, allocations: 51.41 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.6807, allocations: 139.8 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.6808, allocations: 25.7 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.6808, allocations: 96.12 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.6808, allocations: 11.95 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.6809, allocations: 13.72 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.681, allocations: 326.8 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.6811, allocations: 12 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.6811, allocations: 19.92 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.025e-05/0.6812, allocations: 29.12 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6812, allocations: 4 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001323/0.6814, allocations: 69.61 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.6814, allocations: 4 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6814, allocations: 4 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6814, allocations: 4 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/0.6815, allocations: 3.938 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.6815, allocations: 11.92 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.6815, allocations: 11.92 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6816, allocations: 7.922 kB / 1.224 GB, free: 13.68 MB / 0.9512 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 7.954e-05/0.6816, allocations: 117.8 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.6817, allocations: 7.953 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.6817, allocations: 16.25 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6817, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6817, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.6817, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.6819, allocations: 185.6 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.6819, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.682, allocations: 7.984 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.682, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.682, allocations: 4 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.682, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.682, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.6822, allocations: 163.4 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.6822, allocations: 81.06 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.6822, allocations: 4 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.6823, allocations: 15.92 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.6824, allocations: 7.984 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.6824, allocations: 0 / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.6825, allocations: 121.3 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6825, allocations: 0 / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002039/0.6827, allocations: 8 kB / 1.225 GB, free: 12.86 MB / 0.9512 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.0004599/0.6831, allocations: 0.6895 MB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.6833, allocations: 43.91 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6833, allocations: 0 / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.6834, allocations: 16 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.6836, allocations: 4 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.6849, allocations: 1.393 MB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.6852, allocations: 0.6963 MB / 1.228 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.388e-05/0.6852, allocations: 3.984 kB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.6853, allocations: 27.42 kB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6853, allocations: 4.125 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5991/1.284, allocations: 1.991 MB / 1.23 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.54, allocations: 10.23 kB / 1.23 GB, free: 7.969 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches