Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007961/0.0007961, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000901/0.000901, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8983/0.8983, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.759/1.759, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 3.938 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.599e-05, allocations: 2.281 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00145/0.001476, allocations: 0.8104 MB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008387/0.002315, allocations: 0.8977 MB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.732e-05/0.002392, allocations: 3.938 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.002519, allocations: 19.81 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.152e-05/0.002551, allocations: 7.875 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.00274, allocations: 35.83 kB / 0.9828 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.549e-05/0.002836, allocations: 79.78 kB / 0.9828 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.002938, allocations: 19.98 kB / 0.9829 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.003061, allocations: 47.83 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.003118, allocations: 19.97 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.003135, allocations: 4 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.003172, allocations: 15.94 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.003186, allocations: 15.97 kB / 0.983 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.003207, allocations: 11.94 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003325, allocations: 87.67 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003327, allocations: 0 / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003327, allocations: 4 kB / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.003331, allocations: 0 / 0.9831 GB, free: 448 kB / 0.9323 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.0003828/0.003714, allocations: 317.9 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.003751, allocations: 12.03 kB / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.003785, allocations: 34.73 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.003885, allocations: 16.89 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.004075, allocations: 149.6 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.004083, allocations: 4.375 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.004095, allocations: 12.31 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.004204, allocations: 58.23 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004211, allocations: 4.125 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.004221, allocations: 4.312 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.004229, allocations: 12.11 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.004299, allocations: 31.98 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.004656, allocations: 279.7 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.004756, allocations: 50.55 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.004787, allocations: 20.91 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.004802, allocations: 4.078 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.004823, allocations: 30.56 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.004824, allocations: 0 / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001738/0.004997, allocations: 73.7 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.005025, allocations: 51.41 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.005103, allocations: 145.6 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.005114, allocations: 25.7 kB / 0.9843 GB, free: 14.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.005164, allocations: 96.12 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.005179, allocations: 7.953 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.005207, allocations: 17.72 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.005295, allocations: 322.8 kB / 0.9848 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.574e-05/0.005331, allocations: 15.98 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.005354, allocations: 12 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.005402, allocations: 28.84 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005404, allocations: 4 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.733e-05/0.005481, allocations: 73.56 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.005494, allocations: 4 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005498, allocations: 0 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.005509, allocations: 0 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.005555, allocations: 7.984 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.005559, allocations: 0 / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.005594, allocations: 11.98 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.005599, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 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.16e-05/0.005661, allocations: 121.8 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.005676, allocations: 7.953 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.005697, allocations: 12.34 kB / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.005699, allocations: 0 / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.005703, allocations: 3.938 kB / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005705, allocations: 0 / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.005822, allocations: 148.7 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005823, allocations: 0 / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.00584, allocations: 11.92 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005841, allocations: 0 / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.00585, allocations: 8 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.005852, allocations: 4 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005852, allocations: 3.938 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.005957, allocations: 159.4 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.005968, allocations: 11.89 kB / 0.9854 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.005981, allocations: 0 / 0.9854 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.006027, allocations: 8.359 kB / 0.9854 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.006065, allocations: 7.984 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.00607, allocations: 7.984 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.006114, allocations: 101.6 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006114, allocations: 4 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001523/0.006266, allocations: 12 kB / 0.9855 GB, free: 13.65 MB / 0.948 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.0002987/0.006565, allocations: 0.6967 MB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.00666, allocations: 35.97 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.006661, allocations: 0 / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.00669, allocations: 15.94 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.006877, allocations: 14.56 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.007808, allocations: 1.382 MB / 0.9876 GB, free: 11.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.124e-05/0.007859, allocations: 75.33 kB / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.00789, allocations: 7.75 kB / 0.9877 GB, free: 11.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.007938, allocations: 28.48 kB / 0.9877 GB, free: 11.27 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.007938, allocations: 0 / 0.9877 GB, free: 11.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.02291, allocations: 2.725 MB / 0.9904 GB, free: 8.699 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.725, allocations: 3.203 kB / 0.9904 GB, free: 8.699 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable gre.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable gre.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable greHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable greHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.928260331973433]