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.0008553/0.0008553, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009054/0.0009054, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9141/0.9141, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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 2.645e-06/2.645e-06, allocations: 0 / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.282e-05, allocations: 2.281 kB / 0.981 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001492/0.001515, allocations: 0.8065 MB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00091/0.002425, allocations: 0.9132 MB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.00252, allocations: 0 / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.002637, allocations: 15.86 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.379e-05/0.00267, allocations: 19.86 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.002863, allocations: 27.91 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.002977, allocations: 75.72 kB / 0.9828 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.00309, allocations: 23.97 kB / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.003253, allocations: 51.78 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.003318, allocations: 27.89 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.003335, allocations: 4 kB / 0.9829 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.003375, allocations: 8 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.00339, allocations: 19.94 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.003411, allocations: 11.98 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.003537, allocations: 87.72 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003539, allocations: 0 / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003539, allocations: 0 / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003543, allocations: 3.938 kB / 0.9831 GB, free: 412 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.0003946/0.003938, allocations: 310 kB / 0.9834 GB, free: 68 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.003977, allocations: 12.03 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.004011, allocations: 34.75 kB / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.004264, allocations: 20.92 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.004566, allocations: 148.5 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004577, allocations: 8.312 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.004588, allocations: 4.375 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.004824, allocations: 62.23 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.004834, allocations: 192 / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.004847, allocations: 4.312 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.004854, allocations: 4.125 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.827e-05/0.004952, allocations: 39.97 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.005367, allocations: 275.8 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.005478, allocations: 54.56 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.00551, allocations: 16.92 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.005527, allocations: 0 / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.005549, allocations: 34.56 kB / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.00555, allocations: 0 / 0.9841 GB, free: 15.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001868/0.005737, allocations: 77.75 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.005768, allocations: 51.41 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.005848, allocations: 137.6 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.005864, allocations: 29.7 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.005908, allocations: 96.12 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.005922, allocations: 7.938 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.00596, allocations: 17.72 kB / 0.9844 GB, free: 14.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.006043, allocations: 330.7 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.006074, allocations: 12 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.006098, allocations: 19.98 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.006147, allocations: 24.84 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.006148, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.102e-05/0.006229, allocations: 73.62 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.006242, allocations: 4 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006246, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.006258, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.00631, allocations: 11.88 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006315, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.006353, allocations: 23.88 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.006359, allocations: 0 / 0.9849 GB, free: 14.3 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.122e-05/0.00642, allocations: 121.8 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.006433, allocations: 4 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.006454, allocations: 12.34 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.006455, allocations: 0 / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.006459, allocations: 0 / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.006461, allocations: 0 / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.006576, allocations: 148.6 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.006576, allocations: 0 / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.006592, allocations: 11.98 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.006593, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.0066, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006602, allocations: 4 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.006604, allocations: 7.938 kB / 0.9852 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.006704, allocations: 159.4 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.006715, allocations: 8.328 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.00673, allocations: 4 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.006776, allocations: 7.984 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.006814, allocations: 11.98 kB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.006817, allocations: 3.984 kB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.006871, allocations: 109.6 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006871, allocations: 0 / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001496/0.007021, allocations: 11.95 kB / 0.9855 GB, free: 13.62 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.000295/0.007316, allocations: 0.6851 MB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.57e-05/0.007411, allocations: 35.91 kB / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.007413, allocations: 0 / 0.9862 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.00744, allocations: 20 kB / 0.9862 GB, free: 12.85 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.007636, allocations: 8 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.008619, allocations: 1.384 MB / 0.9876 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.096e-05/0.00867, allocations: 75.33 kB / 0.9877 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.008702, allocations: 11.75 kB / 0.9877 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.008753, allocations: 24.48 kB / 0.9877 GB, free: 11.25 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.008753, allocations: 3.938 kB / 0.9877 GB, free: 11.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.02594, allocations: 2.727 MB / 0.9904 GB, free: 8.676 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/6.765, allocations: 0.7031 kB / 0.9904 GB, free: 8.676 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.841939471662045]