Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007825/0.0007825, 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.0008685/0.0008685, 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.9007/0.9007, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.799/1.799, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.838e-06/3.838e-06, allocations: 0 / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.38e-05, allocations: 4.672 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00181/0.001844, allocations: 0.7883 MB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.002907, allocations: 0.914 MB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.003014, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.003175, allocations: 11.88 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/0.00321, allocations: 11.88 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.003456, allocations: 39.83 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.003577, allocations: 79.66 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.003713, allocations: 19.98 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.003883, allocations: 47.83 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.00395, allocations: 27.91 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.003966, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.799e-05/0.004004, allocations: 8 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.004018, allocations: 15.92 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.004042, allocations: 15.98 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.004178, allocations: 87.67 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004182, allocations: 4 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004183, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004187, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 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.0003984/0.004586, allocations: 310 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.004634, allocations: 12.75 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.004667, allocations: 34.75 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.004775, allocations: 16.88 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.004981, allocations: 153.5 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.004995, allocations: 8.359 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.005008, allocations: 4.375 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.005136, allocations: 58.23 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005145, allocations: 192 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.005158, allocations: 4.375 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.005166, allocations: 8.125 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.005242, allocations: 31.97 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.00569, allocations: 279.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.005814, allocations: 54.58 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.00585, allocations: 16.92 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.005868, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.005893, allocations: 34.64 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.005895, allocations: 0 / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002174/0.006112, allocations: 77.62 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.00615, allocations: 51.41 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.006242, allocations: 135.8 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.006261, allocations: 33.7 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.00632, allocations: 100.1 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.006337, allocations: 3.953 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.006367, allocations: 25.59 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.00647, allocations: 326.8 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.006503, allocations: 12 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.006536, allocations: 15.98 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.006595, allocations: 32.84 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.006598, allocations: 0 / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.404e-05/0.006692, allocations: 69.62 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.006709, allocations: 4 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.006715, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.006729, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.006787, allocations: 7.938 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.006794, allocations: 7.922 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.00683, allocations: 8 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.006837, allocations: 7.984 kB / 1.004 GB, free: 9.234 MB / 0.9636 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 7.094e-05/0.006908, allocations: 117.8 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.006924, allocations: 7.953 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.00695, allocations: 12.34 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.006951, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.006956, allocations: 336 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.00696, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.007085, allocations: 152.7 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.007086, allocations: 0 / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.007102, allocations: 7.984 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007104, allocations: 7.984 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.007112, allocations: 0 / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007114, allocations: 4 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007115, allocations: 0 / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.007226, allocations: 163.4 kB / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.007238, allocations: 11.89 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.007252, allocations: 0 / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.007298, allocations: 7.984 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.007341, allocations: 11.98 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.007343, allocations: 4 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.00739, allocations: 108.7 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.00739, allocations: 0 / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001528/0.007543, allocations: 8 kB / 1.004 GB, free: 8.547 MB / 0.9636 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.0002829/0.007826, allocations: 0.6851 MB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.007926, allocations: 39.91 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.007928, allocations: 0 / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.007956, allocations: 16 kB / 1.005 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.008146, allocations: 25.64 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009463/0.009092, allocations: 1.376 MB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.009145, allocations: 71.33 kB / 1.006 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.00918, allocations: 8 kB / 1.006 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.009232, allocations: 28.48 kB / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.009232, allocations: 0 / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.02342, allocations: 2.708 MB / 1.009 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/6.827, allocations: 4 kB / 1.009 GB, free: 3.605 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable gre.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable greHys.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable greHys.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.03502682596445]