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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 109.8 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437.1 MB / 0.7171 GB, free: 4.066 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 71.89 kB / 1.027 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8616, allocations: 151.6 MB / 1.175 GB, free: 17.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002281/0.864, allocations: 0.8242 MB / 1.176 GB, free: 16.97 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.8653, allocations: 0.872 MB / 1.176 GB, free: 16.31 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.8655, allocations: 2.188 kB / 1.176 GB, free: 16.31 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.8657, allocations: 15.02 kB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.8657, allocations: 9.891 kB / 1.176 GB, free: 16.29 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.8659, allocations: 35.31 kB / 1.176 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.8661, allocations: 71.5 kB / 1.177 GB, free: 16.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.8663, allocations: 32.2 kB / 1.177 GB, free: 16.22 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.8664, allocations: 34.33 kB / 1.177 GB, free: 16.2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.286e-05/0.8665, allocations: 30.27 kB / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.8665, allocations: 4.25 kB / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/0.8665, allocations: 6.125 kB / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.8665, allocations: 15.86 kB / 1.177 GB, free: 16.17 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.8666, allocations: 33.25 kB / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.8668, allocations: 74.39 kB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8668, allocations: 0 / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8668, allocations: 1.438 kB / 1.177 GB, free: 16.12 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8668, allocations: 0 / 1.177 GB, free: 16.12 MB / 0.92 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.0005139/0.8673, allocations: 405.4 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8674, allocations: 10.28 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.8674, allocations: 36.77 kB / 1.177 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.8675, allocations: 10.12 kB / 1.177 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.8677, allocations: 205.1 kB / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.8677, allocations: 2.531 kB / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.8677, allocations: 7.344 kB / 1.177 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.8679, allocations: 66.45 kB / 1.177 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.8679, allocations: 3.938 kB / 1.177 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.8679, allocations: 2.016 kB / 1.177 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8679, allocations: 5.219 kB / 1.177 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.8681, allocations: 34.64 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.8685, allocations: 314 kB / 1.178 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.8687, allocations: 50.38 kB / 1.178 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.8687, allocations: 19.16 kB / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.8688, allocations: 0 / 1.178 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.8688, allocations: 32.48 kB / 1.178 GB, free: 15.01 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.8688, allocations: 3.984 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002496/0.869, allocations: 84.81 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.8691, allocations: 52.02 kB / 1.178 GB, free: 14.89 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.8692, allocations: 132.3 kB / 1.178 GB, free: 14.78 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.8692, allocations: 26.27 kB / 1.178 GB, free: 14.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.8693, allocations: 98.7 kB / 1.178 GB, free: 14.65 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.8693, allocations: 7.109 kB / 1.178 GB, free: 14.65 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.8693, allocations: 18.62 kB / 1.178 GB, free: 14.63 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6e-05/0.8694, allocations: 326.9 kB / 1.179 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.8695, allocations: 18.53 kB / 1.179 GB, free: 14.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.8695, allocations: 15.5 kB / 1.179 GB, free: 14.29 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.8696, allocations: 26.52 kB / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8696, allocations: 0 / 1.179 GB, free: 14.28 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000129/0.8697, allocations: 71.17 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.8698, allocations: 5.375 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8698, allocations: 0 / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8698, allocations: 6.172 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.8699, allocations: 4.594 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.8699, allocations: 0 / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.87, allocations: 18.02 kB / 1.179 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.87, allocations: 4.969 kB / 1.179 GB, free: 14.22 MB / 0.92 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.17e-05/0.87, allocations: 114.2 kB / 1.179 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.8701, allocations: 8.188 kB / 1.179 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.8701, allocations: 15.98 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8701, allocations: 0 / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8701, allocations: 5.125 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8701, allocations: 0.6562 kB / 1.179 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.8703, allocations: 186.7 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8703, allocations: 0 / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.8703, allocations: 5.609 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.8703, allocations: 0 / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.8703, allocations: 1.719 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8703, allocations: 3.938 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8704, allocations: 1.766 kB / 1.179 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.8705, allocations: 167 kB / 1.179 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.8705, allocations: 83.16 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.8706, allocations: 1.906 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.8707, allocations: 10.25 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.8707, allocations: 11.62 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.8707, allocations: 0.5625 kB / 1.179 GB, free: 13.61 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.8708, allocations: 109.3 kB / 1.179 GB, free: 13.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8708, allocations: 0 / 1.179 GB, free: 13.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002137/0.871, allocations: 11.84 kB / 1.179 GB, free: 13.52 MB / 0.92 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.0003466/0.8713, allocations: 0.6973 MB / 1.18 GB, free: 12.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.8715, allocations: 36.98 kB / 1.18 GB, free: 12.83 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8715, allocations: 0 / 1.18 GB, free: 12.83 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.8716, allocations: 20.53 kB / 1.18 GB, free: 12.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.8718, allocations: 18.09 kB / 1.18 GB, free: 12.81 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.8729, allocations: 1.388 MB / 1.182 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.873, allocations: 0.6922 MB / 1.182 GB, free: 10.86 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.385e-05/0.8731, allocations: 4.953 kB / 1.182 GB, free: 10.86 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.8731, allocations: 22.44 kB / 1.182 GB, free: 10.84 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.8731, allocations: 0 / 1.182 GB, free: 10.84 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.8964, allocations: 1.987 MB / 1.184 GB, free: 10.45 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/9.056, allocations: 13.48 kB / 1.184 GB, free: 10.44 MB / 0.92 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.940896155079827]