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.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001191/0.001191, allocations: 195.8 kB / 16.14 MB, free: 6.699 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.21/1.21, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.281/2.281, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5298, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00184/0.5317, allocations: 0.8835 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.5325, allocations: 0.8662 MB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.5326, allocations: 7.938 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.5327, allocations: 7.922 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.301e-05/0.5328, allocations: 3.938 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.5329, allocations: 31.92 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.533, allocations: 67.84 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.5331, allocations: 35.86 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.5332, allocations: 31.86 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.5333, allocations: 23.86 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.5333, allocations: 7.938 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.5334, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.5334, allocations: 15.84 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.5334, allocations: 31.8 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.5336, allocations: 74 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5336, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5336, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5336, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 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.0005491/0.5341, allocations: 391.2 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.5342, allocations: 8.031 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.5342, allocations: 38.73 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.5343, allocations: 8.844 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.5345, allocations: 194.5 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.5345, allocations: 4.375 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.5345, allocations: 4.375 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.5347, allocations: 62.17 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5347, allocations: 15.88 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5347, allocations: 7.984 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5347, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.5348, allocations: 31.98 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.5353, allocations: 320.5 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.5354, allocations: 46.66 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.5355, allocations: 20.91 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.5355, allocations: 4.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.5355, allocations: 34.56 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5355, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002342/0.5358, allocations: 77.56 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.5358, allocations: 55.41 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.5359, allocations: 129.8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.5359, allocations: 29.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.536, allocations: 100 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.536, allocations: 11.89 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.5361, allocations: 17.72 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.5362, allocations: 322.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.5362, allocations: 12 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.5363, allocations: 23.92 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.635e-05/0.5363, allocations: 28.84 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5363, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001257/0.5365, allocations: 69.52 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5365, allocations: 10.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5365, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.5365, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.5366, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5366, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.5367, allocations: 11.92 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.5367, allocations: 7.938 kB / 1.021 GB, free: 14.41 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.86e-05/0.5368, allocations: 118.3 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.5368, allocations: 7.891 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.5368, allocations: 16.25 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.5369, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.5369, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5369, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.537, allocations: 189.5 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.537, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.5371, allocations: 3.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5371, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.5371, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5371, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5371, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.5373, allocations: 171.7 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.5373, allocations: 81.05 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.5373, allocations: 8 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.5374, allocations: 7.984 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5375, allocations: 7.984 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.5375, allocations: 4 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.5376, allocations: 119.1 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5376, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002061/0.5378, allocations: 8 kB / 1.022 GB, free: 13.58 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.0003999/0.5382, allocations: 0.689 MB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.5383, allocations: 39.92 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.5383, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.499e-05/0.5384, allocations: 19.98 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.5387, allocations: 7.938 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.5399, allocations: 1.39 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.5401, allocations: 0.6926 MB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.584e-05/0.5401, allocations: 4 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.5402, allocations: 27.42 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5402, allocations: 0 / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.5502, allocations: 1.727 MB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.5504, allocations: 213.7 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.14, allocations: 0 / 1.026 GB, free: 8.711 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