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.007433/0.007433, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001116/0.001116, allocations: 191.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 2.208/2.208, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.91 kB / 0.9505 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7679, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003066/0.771, allocations: 2.016 MB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.7727, allocations: 1.158 MB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.7729, allocations: 4.094 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.7733, allocations: 113.6 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.7736, allocations: 102.6 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.7741, allocations: 170.4 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.7744, allocations: 256.3 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.7746, allocations: 84.39 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.7747, allocations: 107.2 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.7749, allocations: 126.5 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.775, allocations: 15 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.7751, allocations: 65.41 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.7752, allocations: 68.59 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.803e-05/0.7753, allocations: 107.2 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005621/0.7759, allocations: 325 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7759, allocations: 0 / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7759, allocations: 0 / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.7759, allocations: 1.672 kB / 1.092 GB, free: 2.359 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.001212/0.7772, allocations: 0.5732 MB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.7772, allocations: 13.41 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.711e-05/0.7773, allocations: 45.38 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.7774, allocations: 24.97 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.7778, allocations: 326 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.7779, allocations: 4.719 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.7779, allocations: 11.47 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.7783, allocations: 132 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7783, allocations: 0.6562 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.7783, allocations: 5.375 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7783, allocations: 6.156 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.7787, allocations: 88.33 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.7796, allocations: 0.5009 MB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.7801, allocations: 136 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.7803, allocations: 52.02 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.7804, allocations: 5.844 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.7807, allocations: 107.9 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.7807, allocations: 0 / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0007234/0.7814, allocations: 203.8 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.7815, allocations: 62.02 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.7819, allocations: 366.5 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.782, allocations: 32 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.782, allocations: 150.8 kB / 1.095 GB, free: 420 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.7821, allocations: 34.77 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.7822, allocations: 48.38 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.7823, allocations: 334.5 kB / 1.095 GB, free: 32 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.7825, allocations: 83.83 kB / 1.095 GB, free: 4 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.7828, allocations: 104.8 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.7832, allocations: 138.6 kB / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7832, allocations: 0 / 1.096 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005888/0.7838, allocations: 249.6 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7838, allocations: 7.016 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.7838, allocations: 0 / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7839, allocations: 1.312 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.7841, allocations: 36.67 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.7841, allocations: 2.516 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.7843, allocations: 24.09 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.7843, allocations: 10.67 kB / 1.096 GB, free: 15.78 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.000162/0.7845, allocations: 156 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.7845, allocations: 30.33 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.7846, allocations: 26.95 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.7846, allocations: 1.812 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7846, allocations: 3.938 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7847, allocations: 0.7969 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.7849, allocations: 278.1 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.785, allocations: 1.438 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.7851, allocations: 18.58 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7851, allocations: 0.6094 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.7851, allocations: 3.188 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7851, allocations: 0.75 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7851, allocations: 0 / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.7856, allocations: 194.3 kB / 1.097 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.7857, allocations: 103.6 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.7858, allocations: 7.125 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.7859, allocations: 14.84 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.786, allocations: 18.45 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.786, allocations: 13.28 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002831/0.7863, allocations: 233.5 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7863, allocations: 0 / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003039/0.7866, allocations: 47.67 kB / 1.097 GB, free: 15 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.001661/0.7883, allocations: 1.046 MB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.7888, allocations: 161.8 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7888, allocations: 4 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.789, allocations: 57.77 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.7894, allocations: 49.66 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.7931, allocations: 2.528 MB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.7934, allocations: 0.7563 MB / 1.101 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.7935, allocations: 37.09 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.7937, allocations: 88.25 kB / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/0.7937, allocations: 0 / 1.102 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.8191, allocations: 5.994 MB / 1.107 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/8.45, allocations: 10.75 kB / 1.107 GB, free: 11.01 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