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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008534/0.0008532, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005208/0.005208, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.186/1.186, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5252, allocations: 142.4 MB / 0.9552 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.001824/0.5271, allocations: 1.715 MB / 0.9569 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.5285, allocations: 1.115 MB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.5286, allocations: 7.25 kB / 0.958 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.5289, allocations: 100.6 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.5291, allocations: 99.42 kB / 0.9581 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.5295, allocations: 142.1 kB / 0.9583 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.5297, allocations: 242 kB / 0.9585 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.5299, allocations: 75.42 kB / 0.9586 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.53, allocations: 85.81 kB / 0.9587 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.5302, allocations: 116.7 kB / 0.9588 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.5302, allocations: 5.406 kB / 0.9588 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.5303, allocations: 64.25 kB / 0.9588 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.5304, allocations: 49.45 kB / 0.9589 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.5305, allocations: 114.9 kB / 0.959 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.5307, allocations: 299.7 kB / 0.9593 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5307, allocations: 0 / 0.9593 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5307, allocations: 1.375 kB / 0.9593 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.5307, allocations: 0 / 0.9593 GB, free: 4.52 MB / 0.7169 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.0007417/0.5315, allocations: 0.5554 MB / 0.9598 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5315, allocations: 9.625 kB / 0.9598 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.5316, allocations: 38.88 kB / 0.9599 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.5316, allocations: 28.94 kB / 0.9599 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.5319, allocations: 321.2 kB / 0.9602 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.5319, allocations: 8.125 kB / 0.9602 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.532, allocations: 10.88 kB / 0.9602 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.5322, allocations: 136.5 kB / 0.9604 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.5323, allocations: 0 / 0.9604 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.5323, allocations: 1.844 kB / 0.9604 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5323, allocations: 6.031 kB / 0.9604 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.5326, allocations: 105.7 kB / 0.9605 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.5333, allocations: 0.4984 MB / 0.961 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.5336, allocations: 139.3 kB / 0.9611 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.5338, allocations: 63.73 kB / 0.9611 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.5338, allocations: 4.875 kB / 0.9612 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.534, allocations: 119.8 kB / 0.9613 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.5341, allocations: 0 / 0.9613 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005624/0.5346, allocations: 220.5 kB / 0.9615 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.5347, allocations: 52.91 kB / 0.9615 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.535, allocations: 370.2 kB / 0.9619 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.535, allocations: 31.52 kB / 0.9619 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.5351, allocations: 153.3 kB / 0.9621 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.5351, allocations: 40.22 kB / 0.9621 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.5352, allocations: 28.27 kB / 0.9621 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.5352, allocations: 338.3 kB / 0.9624 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.5354, allocations: 80.58 kB / 0.9625 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.5356, allocations: 103.5 kB / 0.9626 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.5359, allocations: 163 kB / 0.9628 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.536, allocations: 4 kB / 0.9628 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004616/0.5364, allocations: 246.1 kB / 0.963 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5364, allocations: 5.938 kB / 0.963 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5365, allocations: 0 / 0.963 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5365, allocations: 1.125 kB / 0.963 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.5367, allocations: 44.03 kB / 0.9631 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5367, allocations: 1.312 kB / 0.9631 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.5368, allocations: 29.44 kB / 0.9631 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.5369, allocations: 4 kB / 0.9631 GB, free: 1.539 MB / 0.7169 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.0001083/0.537, allocations: 162.9 kB / 0.9633 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.537, allocations: 23 kB / 0.9633 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.5371, allocations: 30.75 kB / 0.9633 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5371, allocations: 1.25 kB / 0.9633 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5371, allocations: 1.156 kB / 0.9633 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5371, allocations: 7.969 kB / 0.9633 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.5373, allocations: 277.4 kB / 0.9636 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5373, allocations: 0 / 0.9636 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.5374, allocations: 17.58 kB / 0.9636 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5374, allocations: 5.062 kB / 0.9636 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5374, allocations: 5.125 kB / 0.9636 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5374, allocations: 1.094 kB / 0.9636 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5374, allocations: 3.938 kB / 0.9636 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.5378, allocations: 204.5 kB / 0.9638 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.5379, allocations: 103.4 kB / 0.9639 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5379, allocations: 7.453 kB / 0.9639 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.538, allocations: 16.33 kB / 0.9639 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.5381, allocations: 19.25 kB / 0.9639 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.5381, allocations: 11.2 kB / 0.964 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001793/0.5383, allocations: 235.5 kB / 0.9642 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5383, allocations: 3.938 kB / 0.9642 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00026/0.5386, allocations: 50.23 kB / 0.9642 GB, free: 0.6328 MB / 0.7169 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.001359/0.5399, allocations: 1.058 MB / 0.9653 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.5404, allocations: 168.4 kB / 0.9654 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5404, allocations: 0 / 0.9654 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.5406, allocations: 68.08 kB / 0.9655 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5409, allocations: 52.58 kB / 0.9655 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.5442, allocations: 2.622 MB / 0.9681 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.5445, allocations: 0.7528 MB / 0.9688 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.5446, allocations: 34.72 kB / 0.9689 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.5447, allocations: 76.5 kB / 0.9689 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.5448, allocations: 0 / 0.9689 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.504/3.049, allocations: 5.348 MB / 0.9742 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/3.049, allocations: 254.9 kB / 0.9744 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/4.668, allocations: 0 / 0.9744 GB, free: 10.28 MB / 0.7325 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