Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_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.0009118/0.0009118, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004848/0.004849, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.207/1.207, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 19.94 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5589, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.0008339/0.5597, allocations: 0.5291 MB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.5606, allocations: 0.8702 MB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.5606, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.473e-05/0.5607, allocations: 7.938 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.364e-05/0.5608, allocations: 15.8 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.5609, allocations: 31.97 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.855e-05/0.561, allocations: 63.84 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.5611, allocations: 27.98 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.5612, allocations: 27.78 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.5612, allocations: 27.86 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.5613, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.5613, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.5613, allocations: 15.92 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.5613, allocations: 45.52 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.5615, allocations: 77.97 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5615, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5615, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.5615, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 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.0004304/0.5619, allocations: 383.2 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.562, allocations: 12.02 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.562, allocations: 34.75 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.562, allocations: 8.844 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.5622, allocations: 206.1 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.5622, allocations: 4.375 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.5622, allocations: 4.375 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.5624, allocations: 70.17 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.5624, allocations: 3.938 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.5624, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.5624, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.5625, allocations: 47.84 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.5629, allocations: 316.8 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.5631, allocations: 62.58 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.5631, allocations: 20.91 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.5632, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.5632, allocations: 38.64 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.5632, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002243/0.5634, allocations: 81.52 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.5635, allocations: 51.41 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.5636, allocations: 133.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.5636, allocations: 29.7 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.5636, allocations: 100 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.5637, allocations: 7.906 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.5637, allocations: 9.719 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.5638, allocations: 330.8 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.5638, allocations: 12 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.505e-05/0.5639, allocations: 19.98 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.564, allocations: 32.84 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.564, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001311/0.5641, allocations: 77.52 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.5641, allocations: 8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.5641, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.425e-06/0.5642, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.5642, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.5642, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.5643, allocations: 19.92 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.5643, allocations: 7.938 kB / 1.027 GB, free: 11.77 MB / 0.7794 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.968e-05/0.5644, allocations: 118.4 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.5644, allocations: 7.906 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.5645, allocations: 8.25 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5645, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5645, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5645, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.5646, allocations: 185.6 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5646, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.5647, allocations: 11.98 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5647, allocations: 7.875 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.5647, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5647, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5647, allocations: 3.938 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.5649, allocations: 163.4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.5649, allocations: 89.02 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.565, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.5651, allocations: 15.98 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.5651, allocations: 12.36 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.5651, allocations: 0 / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.753e-05/0.5652, allocations: 109.7 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5652, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000218/0.5654, allocations: 8 kB / 1.028 GB, free: 10.95 MB / 0.7794 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.0003871/0.5658, allocations: 0.7069 MB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.5659, allocations: 39.98 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.566, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.347e-05/0.566, allocations: 19.98 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.5663, allocations: 11.94 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5674, allocations: 1.407 MB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.5676, allocations: 0.6887 MB / 1.03 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.5677, allocations: 8 kB / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.5677, allocations: 23.42 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.5677, allocations: 0 / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.5847, allocations: 1.661 MB / 1.032 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.5849, allocations: 216.8 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.151, allocations: 0 / 1.032 GB, free: 6.137 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches