Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01002/0.01002, allocations: 100.7 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 190 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.412/2.412, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.253/4.253, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 63.91 kB / 0.9505 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791/1.794, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.006216/1.8, allocations: 2.013 MB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004183/1.805, allocations: 1.15 MB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000611/1.805, allocations: 7.562 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008872/1.806, allocations: 112.9 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006438/1.807, allocations: 115.9 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/1.808, allocations: 167.6 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006885/1.809, allocations: 254.9 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/1.809, allocations: 80.67 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/1.809, allocations: 119.1 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/1.81, allocations: 122.8 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/1.81, allocations: 16.12 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/1.81, allocations: 71.94 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/1.81, allocations: 66.08 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/1.811, allocations: 103.6 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009871/1.812, allocations: 325.2 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.812, allocations: 0 / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.457e-06/1.812, allocations: 1.156 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.556e-05/1.812, allocations: 3.938 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002018/1.814, allocations: 0.584 MB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.379e-05/1.814, allocations: 9.031 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.921e-05/1.814, allocations: 40.75 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/1.814, allocations: 29 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/1.815, allocations: 338.7 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/1.815, allocations: 12.91 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/1.815, allocations: 6.438 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/1.816, allocations: 124.5 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.816, allocations: 0 / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/1.816, allocations: 5.844 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/1.816, allocations: 6.656 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/1.817, allocations: 95.25 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/1.818, allocations: 498 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/1.819, allocations: 132.1 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/1.819, allocations: 55.58 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/1.819, allocations: 5.547 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/1.82, allocations: 108.6 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 3.646e-06/1.82, allocations: 0 / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001446/1.821, allocations: 208 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/1.822, allocations: 56.91 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.823, allocations: 367.9 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/1.823, allocations: 31.14 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/1.823, allocations: 150.4 kB / 1.095 GB, free: 384 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/1.823, allocations: 31.19 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/1.824, allocations: 52.42 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002475/1.824, allocations: 339 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/1.826, allocations: 80.47 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/1.826, allocations: 107.5 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/1.827, allocations: 138.8 kB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.827, allocations: 3.938 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001303/1.829, allocations: 245.4 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/1.829, allocations: 5.984 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.829, allocations: 0.6562 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/1.829, allocations: 1.375 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/1.829, allocations: 40.56 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/1.829, allocations: 1.594 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/1.83, allocations: 28.44 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/1.83, allocations: 6.094 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,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 (21): * Single equations (assignments): 21 * 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 0.000429/1.83, allocations: 160.1 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/1.83, allocations: 26.14 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/1.831, allocations: 32 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/1.831, allocations: 5.031 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.831, allocations: 0.8438 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.831, allocations: 0.75 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/1.831, allocations: 277.7 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.831, allocations: 0.9375 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/1.832, allocations: 18.89 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.832, allocations: 1.422 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/1.832, allocations: 6.781 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.832, allocations: 0 / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.832, allocations: 1.328 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.833, allocations: 193.3 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/1.833, allocations: 104.1 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/1.833, allocations: 6.406 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/1.833, allocations: 15.55 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/1.833, allocations: 23 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/1.834, allocations: 8.719 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006254/1.834, allocations: 232.5 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/1.834, allocations: 0 / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000628/1.835, allocations: 48.03 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003169/1.838, allocations: 1.042 MB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008824/1.839, allocations: 162.1 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.839, allocations: 0 / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003619/1.839, allocations: 61.3 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/1.84, allocations: 66.08 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/1.849, allocations: 2.541 MB / 1.101 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/1.849, allocations: 0.7552 MB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003212/1.85, allocations: 37.42 kB / 1.102 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/1.85, allocations: 84.33 kB / 1.102 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of SimCode: time 1.893e-06/1.85, allocations: 0 / 1.102 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1623/2.012, allocations: 5.992 MB / 1.107 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/16.78, allocations: 9.234 kB / 1.107 GB, free: 10.94 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches