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.001644/0.001644, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.404/2.404, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.91 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5542, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002819/0.557, allocations: 2.012 MB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.5585, allocations: 1.161 MB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.5586, allocations: 7.188 kB / 0.9528 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.559, allocations: 113.1 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.5592, allocations: 96.28 kB / 0.953 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.5595, allocations: 177.1 kB / 0.9532 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.5598, allocations: 255.8 kB / 0.9535 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.5599, allocations: 70.7 kB / 0.9535 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.5601, allocations: 105.3 kB / 0.9536 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.5602, allocations: 128 kB / 0.9537 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.5603, allocations: 15.44 kB / 0.9538 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.5604, allocations: 77.73 kB / 0.9538 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.5605, allocations: 60.55 kB / 0.9539 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.002e-05/0.5606, allocations: 102 kB / 0.954 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.5608, allocations: 318.2 kB / 0.9543 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5608, allocations: 0 / 0.9543 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5609, allocations: 0 / 0.9543 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5609, allocations: 1.438 kB / 0.9543 GB, free: 5.66 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.0008095/0.5617, allocations: 0.5794 MB / 0.9549 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.5617, allocations: 10.03 kB / 0.9549 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.5618, allocations: 45.7 kB / 0.9549 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.5618, allocations: 28.75 kB / 0.9549 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5621, allocations: 318.3 kB / 0.9552 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.5622, allocations: 7.906 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.5622, allocations: 11.34 kB / 0.9553 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.5625, allocations: 122.1 kB / 0.9554 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5625, allocations: 3.984 kB / 0.9554 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.5625, allocations: 9.031 kB / 0.9554 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5625, allocations: 6.469 kB / 0.9554 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.5628, allocations: 89.16 kB / 0.9555 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.5635, allocations: 0.4883 MB / 0.956 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.5639, allocations: 136.2 kB / 0.9561 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.5641, allocations: 50.73 kB / 0.9561 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.5641, allocations: 5.078 kB / 0.9561 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.5643, allocations: 115.1 kB / 0.9563 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.5643, allocations: 3.984 kB / 0.9563 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005792/0.5649, allocations: 210.4 kB / 0.9565 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.565, allocations: 51.41 kB / 0.9565 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.5653, allocations: 373.8 kB / 0.9569 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5653, allocations: 27.55 kB / 0.9569 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.5654, allocations: 154.1 kB / 0.957 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.5654, allocations: 27.3 kB / 0.9571 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.5655, allocations: 47.73 kB / 0.9571 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.5656, allocations: 341 kB / 0.9574 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.5658, allocations: 79.97 kB / 0.9575 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.566, allocations: 105 kB / 0.9576 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.5663, allocations: 143 kB / 0.9577 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5663, allocations: 1.375 kB / 0.9577 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000477/0.5668, allocations: 252.3 kB / 0.958 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5668, allocations: 5.5 kB / 0.958 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5668, allocations: 0.875 kB / 0.958 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5668, allocations: 1 kB / 0.958 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.567, allocations: 42.12 kB / 0.958 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5671, allocations: 1.812 kB / 0.958 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.5672, allocations: 18.53 kB / 0.9581 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.5673, allocations: 9.438 kB / 0.9581 GB, free: 2.648 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.0001152/0.5674, allocations: 157.5 kB / 0.9582 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.5674, allocations: 25.97 kB / 0.9582 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.5675, allocations: 28.31 kB / 0.9583 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5675, allocations: 5.281 kB / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5675, allocations: 0 / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5675, allocations: 0 / 0.9583 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.5677, allocations: 281.6 kB / 0.9585 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5677, allocations: 0 / 0.9585 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.5679, allocations: 23.22 kB / 0.9586 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5679, allocations: 1.125 kB / 0.9586 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5679, allocations: 0.875 kB / 0.9586 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5679, allocations: 4.812 kB / 0.9586 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5679, allocations: 0 / 0.9586 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.5683, allocations: 194.9 kB / 0.9588 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.5684, allocations: 102.6 kB / 0.9589 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.5684, allocations: 2.219 kB / 0.9589 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.5686, allocations: 16.53 kB / 0.9589 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.5686, allocations: 26.91 kB / 0.9589 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5687, allocations: 7.969 kB / 0.9589 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001997/0.5689, allocations: 235.5 kB / 0.9591 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5689, allocations: 0 / 0.9591 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002703/0.5691, allocations: 42 kB / 0.9592 GB, free: 1.75 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.001391/0.5705, allocations: 1.046 MB / 0.9602 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.571, allocations: 159.8 kB / 0.9603 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.571, allocations: 0 / 0.9603 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.5712, allocations: 66.95 kB / 0.9604 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.5715, allocations: 60.22 kB / 0.9605 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.5745, allocations: 2.544 MB / 0.9629 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.5747, allocations: 0.7522 MB / 0.9637 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.5749, allocations: 38.52 kB / 0.9637 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.575, allocations: 77.09 kB / 0.9638 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.575, allocations: 1.188 kB / 0.9638 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.5976, allocations: 5.92 MB / 0.9696 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.261/7.859, allocations: 5.109 kB / 0.9696 GB, free: 11.25 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 & 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