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.444/1.444, allocations: 249.3 MB / 261.9 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 172.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008592/0.0008592, allocations: 98.41 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.779e-05, allocations: 8 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.19, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6868/0.8768, allocations: 131.3 MB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.877, allocations: 69.08 kB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00239/0.8794, allocations: 0.8605 MB / 1.021 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8795, allocations: 0 / 1.021 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8795, allocations: 0 / 1.021 GB, free: 2.543 MB / 0.6355 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.0004349/0.8799, allocations: 365.8 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.88, allocations: 8.031 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.88, allocations: 7.906 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.8801, allocations: 167 kB / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.8802, allocations: 4 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.8802, allocations: 0 / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.8803, allocations: 49.81 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.8803, allocations: 0 / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.8804, allocations: 0 / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8804, allocations: 4 kB / 1.022 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.51e-05/0.8804, allocations: 19.12 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.8809, allocations: 304.8 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.818e-05/0.881, allocations: 42.06 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.8811, allocations: 16.3 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.8811, allocations: 0 / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8811, allocations: 30.56 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8811, allocations: 0 / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001534/0.8813, allocations: 47.42 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.8813, allocations: 62.22 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.8814, allocations: 103 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.8814, allocations: 25.7 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.8815, allocations: 87.33 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.8815, allocations: 15.88 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.8815, allocations: 0 / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.8816, allocations: 318.3 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.8817, allocations: 11.75 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.8817, allocations: 11.69 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.8817, allocations: 4 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8817, allocations: 4 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001017/0.8818, allocations: 52.47 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8819, allocations: 10.19 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8819, allocations: 0.5 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.8819, allocations: 0 / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.882, allocations: 15.98 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.8821, allocations: 4 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.8822, allocations: 25.59 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.8822, allocations: 0 / 1.023 GB, free: 0.6367 MB / 0.6355 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 () * 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 7.608e-05/0.8823, allocations: 112.8 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.8823, allocations: 0 / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.8823, allocations: 7.969 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8823, allocations: 4 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8824, allocations: 0 / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8824, allocations: 4 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.8825, allocations: 179.5 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.8825, allocations: 0 / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.8826, allocations: 16.17 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8827, allocations: 0 / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8827, allocations: 4 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.8827, allocations: 4 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8827, allocations: 3.984 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.8828, allocations: 158.8 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.8829, allocations: 77.11 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.8829, allocations: 0 / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.883, allocations: 27.91 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.8831, allocations: 7.359 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.8831, allocations: 4 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.8832, allocations: 90.47 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8832, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002061/0.8834, allocations: 8 kB / 1.023 GB, free: 15.88 MB / 0.6511 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 () * 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.0001475/0.8835, allocations: 95.25 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.183e-05/0.8836, allocations: 23 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8836, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.8837, allocations: 14.56 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.8839, allocations: 15.94 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.8841, allocations: 79.34 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.8844, allocations: 0.6848 MB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.394e-05/0.8844, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.8844, allocations: 7.438 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/0.8844, allocations: 3.938 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of Templates: time 0.002317/0.8868, allocations: 0.564 MB / 1.025 GB, free: 14.37 MB / 0.6511 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