Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 182.4 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008462/0.0008461, allocations: 87.06 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 14.16 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2165, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.3868, allocations: 131.4 MB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3871, allocations: 67.95 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002238/0.3894, allocations: 0.8526 MB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3894, allocations: 0 / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3894, allocations: 4 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004245/0.3898, allocations: 375.1 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3899, allocations: 8.031 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.3899, allocations: 4 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.39, allocations: 175 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3901, allocations: 3.938 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.3901, allocations: 11.94 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3903, allocations: 73.66 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3903, allocations: 7.922 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3904, allocations: 8 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3904, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3907, allocations: 83.94 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3911, allocations: 304.8 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.3913, allocations: 66.48 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3914, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3914, allocations: 34.56 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3914, allocations: 0 / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000502/0.3919, allocations: 157.7 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3919, allocations: 55.41 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.147e-05/0.392, allocations: 104.9 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.392, allocations: 33.7 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.3921, allocations: 80.14 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.3921, allocations: 15.81 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.3921, allocations: 0 / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.3922, allocations: 318.8 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3924, allocations: 43.97 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3925, allocations: 43.95 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3926, allocations: 40.25 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3927, allocations: 0 / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002916/0.3929, allocations: 121.6 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.393, allocations: 4 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.393, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.393, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3931, allocations: 23.97 kB / 1.031 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3931, allocations: 7.938 kB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-05/0.3932, allocations: 15.98 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3933, allocations: 4 kB / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greater1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.259e-05/0.3934, allocations: 113.8 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3934, allocations: 7.906 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3934, allocations: 11.89 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3934, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3935, allocations: 3.938 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3935, allocations: 0 / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3936, allocations: 173.6 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3937, allocations: 0 / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.533e-05/0.3938, allocations: 19.98 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3938, allocations: 0 / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3938, allocations: 0 / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3938, allocations: 7.984 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3938, allocations: 320 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.3942, allocations: 223.3 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.3942, allocations: 85.02 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3943, allocations: 0 / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3944, allocations: 19.97 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.3945, allocations: 12 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3945, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.3945, allocations: 87.25 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3945, allocations: 4 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001972/0.3947, allocations: 8 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greater1.y) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002046/0.3949, allocations: 99.25 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.3953, allocations: 87.92 kB / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3953, allocations: 0 / 1.032 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3954, allocations: 55.89 kB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3957, allocations: 7.953 kB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.3961, allocations: 136.8 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.3965, allocations: 0.6848 MB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.885e-05/0.3965, allocations: 7.938 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.3965, allocations: 7.438 kB / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of SimCode: time 4.1e-07/0.3965, allocations: 0 / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of Templates: time 0.002818/0.3994, allocations: 0.5499 MB / 1.034 GB, free: 6.426 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[552]=10.000000 File[5004]=1.000000 Error: Could not read variable gre.u1 in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat. Warning: Get data of variable gre.u1 from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat failed! Error: Could not read variable gre.u2 in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat. Warning: Get data of variable gre.u2 from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat failed! Error: Could not read variable gre.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat. Warning: Get data of variable gre.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat failed! Error: Could not read variable greHys.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat. Warning: Get data of variable greHys.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat failed! " Variables in the reference:time,gre.u1,gre.u2,gre.y,greHys.y Variables in the result:ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,time