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.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004864/0.004864, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00112/0.00112, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2572, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001906/0.2591, allocations: 0.8115 MB / 1.167 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000999/0.2601, allocations: 0.878 MB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.2602, allocations: 3.938 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.2603, allocations: 7.875 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.2604, allocations: 19.86 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.2605, allocations: 27.91 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2607, allocations: 79.7 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2608, allocations: 27.98 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.2609, allocations: 31.84 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.261, allocations: 27.86 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.261, allocations: 8 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.261, allocations: 8 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.2611, allocations: 15.92 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.2611, allocations: 27.81 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.2612, allocations: 83.89 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2612, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2612, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.2613, allocations: 0 / 1.168 GB, free: 5.191 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.0005087/0.2618, allocations: 391 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2618, allocations: 12.03 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.2618, allocations: 38.75 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.2619, allocations: 8.891 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.2621, allocations: 204.2 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2621, allocations: 8.375 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2622, allocations: 384 / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2623, allocations: 66.17 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2623, allocations: 3.938 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2623, allocations: 4 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2624, allocations: 4 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.2625, allocations: 31.97 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.2629, allocations: 312.7 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.2631, allocations: 54.61 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.2632, allocations: 12.86 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.2632, allocations: 8.031 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.2632, allocations: 30.56 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2632, allocations: 3.938 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002386/0.2635, allocations: 73.89 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.2635, allocations: 55.41 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.2636, allocations: 139.7 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2636, allocations: 25.7 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.2637, allocations: 100.1 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.2637, allocations: 11.83 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.2638, allocations: 17.72 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2639, allocations: 326.8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.2639, allocations: 12 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.264, allocations: 27.91 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.2641, allocations: 28.84 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2641, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.2642, allocations: 69.62 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2643, allocations: 4 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2643, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2643, allocations: 4 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.2644, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2644, allocations: 4 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.2645, allocations: 11.98 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2645, allocations: 3.938 kB / 1.17 GB, free: 2.891 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 8.247e-05/0.2646, allocations: 123.7 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.2646, allocations: 11.95 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.2646, allocations: 8.25 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2646, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2646, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2647, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2648, allocations: 185.6 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2648, allocations: 0 / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.2649, allocations: 7.984 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2649, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.2649, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2649, allocations: 4 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2649, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.2651, allocations: 159.4 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.2652, allocations: 93 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2652, allocations: 7.938 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2653, allocations: 7.984 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.2653, allocations: 7.984 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.2654, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.614e-05/0.2654, allocations: 113.2 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2654, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002303/0.2657, allocations: 12 kB / 1.171 GB, free: 2.066 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.0004584/0.2661, allocations: 0.689 MB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.2663, allocations: 40.14 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2663, allocations: 0 / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/0.2664, allocations: 23.92 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2666, allocations: 16 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2679, allocations: 1.387 MB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2682, allocations: 0.6924 MB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.2682, allocations: 3.984 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.2683, allocations: 27.42 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2683, allocations: 0 / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.2865, allocations: 1.985 MB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.661, allocations: 19.23 kB / 1.176 GB, free: 13.18 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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