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.007516/0.007516, allocations: 102 kB / 15.73 MB, free: 6.039 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.002014/0.002014, allocations: 193 kB / 16.67 MB, free: 5.961 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.17/2.17, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 71.89 kB / 0.9505 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8909/0.8924, allocations: 140.4 MB / 1.088 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003619/0.8961, allocations: 2.025 MB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.8978, allocations: 1.151 MB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.898, allocations: 11.88 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.8984, allocations: 111.9 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.8988, allocations: 104.5 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.8993, allocations: 167 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.8996, allocations: 258.1 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.8998, allocations: 81.12 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.9001, allocations: 110.8 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.9002, allocations: 127.2 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.9003, allocations: 19.59 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.9005, allocations: 68.02 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.9006, allocations: 66.47 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.9007, allocations: 99.28 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.9012, allocations: 328.1 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9012, allocations: 1 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9012, allocations: 0 / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.9012, allocations: 0 / 1.092 GB, free: 2.301 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.0009479/0.9021, allocations: 0.578 MB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.9022, allocations: 10.31 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.9022, allocations: 44.44 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.9023, allocations: 29.28 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.9027, allocations: 322.2 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.9028, allocations: 8.859 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.9028, allocations: 6.75 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.9031, allocations: 132.6 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.9032, allocations: 0 / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.9032, allocations: 5.469 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.9032, allocations: 10.81 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.9035, allocations: 91.47 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008414/0.9043, allocations: 497.3 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.9048, allocations: 136.6 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.905, allocations: 54.88 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.905, allocations: 2.422 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.9053, allocations: 107.6 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.9053, allocations: 0 / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0006925/0.906, allocations: 208.6 kB / 1.094 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.906, allocations: 57.03 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.9066, allocations: 367.2 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.9066, allocations: 31.17 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.9068, allocations: 154.2 kB / 1.095 GB, free: 364 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.9068, allocations: 35.52 kB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.9069, allocations: 45.14 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.907, allocations: 337.8 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.9073, allocations: 80.55 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.9075, allocations: 107.8 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.908, allocations: 132.1 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.908, allocations: 0 / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005994/0.9086, allocations: 251.6 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.9086, allocations: 5.312 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9086, allocations: 0 / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9086, allocations: 2.328 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.9089, allocations: 36.06 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.9089, allocations: 1.875 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.9091, allocations: 28.88 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.9091, allocations: 10.23 kB / 1.096 GB, free: 15.73 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.000164/0.9093, allocations: 159.8 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.9093, allocations: 23.03 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.983e-05/0.9094, allocations: 30.84 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9094, allocations: 1.25 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.9094, allocations: 1.156 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9094, allocations: 4.734 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.9097, allocations: 273.7 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9097, allocations: 4 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.9099, allocations: 23.28 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9099, allocations: 1.406 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.9099, allocations: 2.125 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.9099, allocations: 1.438 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9099, allocations: 0.7969 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.9104, allocations: 193.5 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.9105, allocations: 103 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.9105, allocations: 2.375 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.9107, allocations: 16.69 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.9108, allocations: 22.19 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.9108, allocations: 4.109 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002918/0.9111, allocations: 234 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9111, allocations: 0 / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002889/0.9114, allocations: 52.39 kB / 1.097 GB, free: 14.95 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.001709/0.9131, allocations: 1.04 MB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000542/0.9137, allocations: 166.5 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.9137, allocations: 0 / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.9139, allocations: 57.23 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.9143, allocations: 69.91 kB / 1.098 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.9184, allocations: 2.519 MB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.9188, allocations: 0.7561 MB / 1.101 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.919, allocations: 36.53 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.9192, allocations: 83.84 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.9192, allocations: 0 / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.9441, allocations: 6.104 MB / 1.108 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.945, allocations: 9.016 kB / 1.108 GB, free: 10.93 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,gre.u1,gre.u2,gre.y,greHys.y Variables in the result:gre.h,gre.pre_y_start,gre.u1,gre.u2,gre.y,greHys.h,greHys.pre_y_start,greHys.u1,greHys.u2,greHys.y,ram.extrapolation,ram.offset[1],ram.smoothness,ram.table[1,1],ram.table[1,2],ram.table[2,1],ram.table[2,2],ram.table[3,1],ram.table[3,2],ram.table[4,1],ram.table[4,2],ram.table[5,1],ram.table[5,2],ram.table[6,1],ram.table[6,2],ram.timeScale,ram.y[1],ram1.duration,ram1.height,ram1.offset,ram1.startTime,ram1.y,rou.n,rou.u,rou.y,rou1.n,rou1.u,rou1.y,time