Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.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.0008448/0.0008448, 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.0008436/0.0008436, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8899/0.8899, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.695/1.695, allocations: 377.9 MB / 0.6221 GB, free: 8.641 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.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",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.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.246e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001596/0.001619, allocations: 0.8388 MB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009217/0.002541, allocations: 0.9211 MB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.002631, allocations: 11.88 kB / 0.9828 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.002748, allocations: 11.86 kB / 0.9828 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.002782, allocations: 7.875 kB / 0.9828 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.002983, allocations: 47.83 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.0031, allocations: 99.69 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003216, allocations: 31.98 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.003358, allocations: 67.81 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.003411, allocations: 23.91 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.003429, allocations: 8 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.87e-05/0.003468, allocations: 19.97 kB / 0.9831 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.003482, allocations: 11.94 kB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.003508, allocations: 23.92 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.003659, allocations: 119.5 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.003663, allocations: 0 / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.704e-06/0.003665, allocations: 0 / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.003669, allocations: 0 / 0.9832 GB, free: 296 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006153/0.004285, allocations: 337.9 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.004325, allocations: 8.031 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.14e-05/0.004357, allocations: 42.73 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.004464, allocations: 20.88 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.004656, allocations: 145.5 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.004666, allocations: 8.375 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.004678, allocations: 8.375 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.005314, allocations: 97.33 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.005321, allocations: 192 / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.005332, allocations: 384 / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.00534, allocations: 8.125 kB / 0.9839 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.005533, allocations: 67.94 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.005967, allocations: 311.7 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.006112, allocations: 66.47 kB / 0.9843 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.006174, allocations: 40.86 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.006189, allocations: 0 / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.006212, allocations: 30.56 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.006213, allocations: 0 / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002972/0.00651, allocations: 117.6 kB / 0.9845 GB, free: 14.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.006543, allocations: 51.41 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.00663, allocations: 144 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.006644, allocations: 29.7 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.0067, allocations: 100.1 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.006716, allocations: 7.891 kB / 0.9848 GB, free: 14.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.006752, allocations: 25.7 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.006845, allocations: 322.7 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.006911, allocations: 35.97 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.006965, allocations: 27.97 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.007071, allocations: 60.75 kB / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007073, allocations: 0 / 0.9852 GB, free: 14.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.007211, allocations: 105.6 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.007224, allocations: 4 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007229, allocations: 0 / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.007242, allocations: 0 / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.007315, allocations: 15.92 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.00732, allocations: 0 / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.007371, allocations: 23.92 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.00738, allocations: 3.938 kB / 0.9854 GB, free: 13.88 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 (5): * Single equations (assignments): 5 * 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.546e-05/0.007456, allocations: 117.8 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.007471, allocations: 7.953 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.007495, allocations: 8.531 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.0075, allocations: 8.172 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.007506, allocations: 7.984 kB / 0.9855 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.007508, allocations: 0 / 0.9855 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.007626, allocations: 152.7 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007627, allocations: 0 / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.007657, allocations: 11.98 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.007658, allocations: 0 / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.007665, allocations: 4 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007665, allocations: 0 / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.007666, allocations: 0 / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.007853, allocations: 199.3 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.007864, allocations: 7.953 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.007878, allocations: 0 / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.007936, allocations: 15.98 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.00798, allocations: 11.97 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.007983, allocations: 7.938 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.008029, allocations: 107.2 kB / 0.986 GB, free: 13.15 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008029, allocations: 0 / 0.986 GB, free: 13.15 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001468/0.008176, allocations: 15.88 kB / 0.986 GB, free: 13.14 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 (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 Backend phase and start with SimCode phase: time 0.0003398/0.008516, allocations: 0.7202 MB / 0.9867 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.008668, allocations: 67.94 kB / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008669, allocations: 4 kB / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.777e-05/0.008727, allocations: 31.97 kB / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.008988, allocations: 18.44 kB / 0.9868 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.01018, allocations: 1.477 MB / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.635e-05/0.01025, allocations: 75.33 kB / 0.9884 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.01029, allocations: 11.98 kB / 0.9884 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.01035, allocations: 24.5 kB / 0.9884 GB, free: 10.58 MB / 0.948 GB Notification: Performance of SimCode: time 7.42e-07/0.01035, allocations: 0 / 0.9884 GB, free: 10.58 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02516, allocations: 2.941 MB / 0.9913 GB, free: 7.785 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.002, allocations: 7.031 kB / 0.9913 GB, free: 7.781 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_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_Greater.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable gre.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable gre.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable gre.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable greHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable greHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.074324114248157]