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.00765/0.00765, allocations: 102.1 kB / 15.73 MB, free: 6.051 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.001542/0.001542, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.175/2.175, 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.938/2.938, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 59.91 kB / 0.9505 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339/1.341, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.005121/1.346, allocations: 2.026 MB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002673/1.349, allocations: 1.148 MB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/1.349, allocations: 8.031 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005831/1.35, allocations: 120.4 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004252/1.35, allocations: 96.02 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/1.351, allocations: 177.9 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005284/1.352, allocations: 258.4 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/1.352, allocations: 77.41 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/1.352, allocations: 111.5 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/1.353, allocations: 122.2 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/1.353, allocations: 19.59 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/1.353, allocations: 72.17 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/1.353, allocations: 66.47 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/1.353, allocations: 102.6 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007289/1.354, allocations: 324.3 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.354, allocations: 1.406 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.796e-06/1.354, allocations: 0 / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.354, allocations: 0 / 1.092 GB, free: 2.355 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.001404/1.355, allocations: 0.5775 MB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/1.355, allocations: 13.94 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/1.356, allocations: 45.45 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/1.356, allocations: 24.25 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/1.356, allocations: 326.4 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/1.356, allocations: 8.406 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/1.356, allocations: 7.656 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/1.357, allocations: 124.3 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.357, allocations: 7.938 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/1.357, allocations: 5.844 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.357, allocations: 6.438 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/1.357, allocations: 91 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/1.359, allocations: 497.7 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/1.359, allocations: 132.9 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/1.36, allocations: 51.08 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/1.36, allocations: 1.812 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004124/1.36, allocations: 112.2 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/1.36, allocations: 0 / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001014/1.361, allocations: 212.2 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/1.361, allocations: 53.09 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/1.362, allocations: 371.6 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/1.362, allocations: 26.89 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/1.362, allocations: 151.1 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/1.362, allocations: 38.72 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/1.362, allocations: 44.84 kB / 1.095 GB, free: 368 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.362, allocations: 338.1 kB / 1.095 GB, free: 36 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/1.363, allocations: 76.45 kB / 1.095 GB, free: 16 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/1.363, allocations: 111.8 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005868/1.364, allocations: 134.6 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.364, allocations: 0 / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008443/1.365, allocations: 251.3 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.365, allocations: 5.953 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.365, allocations: 0 / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.365, allocations: 1.844 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/1.365, allocations: 35.77 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.365, allocations: 2.578 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/1.365, allocations: 25.45 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/1.365, allocations: 5.359 kB / 1.096 GB, free: 15.79 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.0002317/1.366, allocations: 163.4 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/1.366, allocations: 26.58 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.945e-05/1.366, allocations: 26.86 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.366, allocations: 5.781 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/1.366, allocations: 0.6562 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.366, allocations: 1.25 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/1.366, allocations: 285 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.366, allocations: 1.125 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/1.366, allocations: 18.8 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.366, allocations: 0.75 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/1.366, allocations: 6.531 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.366, allocations: 1.344 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.366, allocations: 0.875 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/1.367, allocations: 193.2 kB / 1.097 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/1.367, allocations: 104.2 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/1.367, allocations: 6.703 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/1.368, allocations: 15.83 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.368, allocations: 22.59 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/1.368, allocations: 3.891 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004531/1.368, allocations: 233.6 kB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.61e-07/1.368, allocations: 0 / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004863/1.369, allocations: 49.22 kB / 1.097 GB, free: 15.01 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.002435/1.371, allocations: 1.045 MB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007685/1.372, allocations: 166.8 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.372, allocations: 0 / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/1.372, allocations: 57.55 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.0005525/1.373, allocations: 49.25 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.00521/1.378, allocations: 2.524 MB / 1.101 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/1.379, allocations: 0.756 MB / 1.101 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002011/1.379, allocations: 33.12 kB / 1.101 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/1.379, allocations: 83.56 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of SimCode: time 1.052e-06/1.379, allocations: 4 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/1.42, allocations: 6.005 MB / 1.107 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.71, allocations: 11.38 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 & /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) Reference file matches