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.001488/0.001488, 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.00168/0.00168, allocations: 193.2 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.139/2.139, allocations: 390.3 MB / 0.6647 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 64.09 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4692, allocations: 140.4 MB / 0.9497 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002609/0.4718, allocations: 2.006 MB / 0.9517 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4731, allocations: 1.152 MB / 0.9528 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.457e-05/0.4732, allocations: 4.219 kB / 0.9528 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.4735, allocations: 116.3 kB / 0.9529 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.4738, allocations: 104.8 kB / 0.953 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.474, allocations: 173 kB / 0.9532 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.4743, allocations: 259.8 kB / 0.9535 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.4744, allocations: 70.86 kB / 0.9535 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.4745, allocations: 108.9 kB / 0.9536 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.4746, allocations: 120.6 kB / 0.9537 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.4747, allocations: 15.31 kB / 0.9538 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4748, allocations: 73.8 kB / 0.9538 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.4749, allocations: 64 kB / 0.9539 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.475, allocations: 111 kB / 0.954 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.4752, allocations: 309.8 kB / 0.9543 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4752, allocations: 0 / 0.9543 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4752, allocations: 0 / 0.9543 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4752, allocations: 1.094 kB / 0.9543 GB, free: 5.793 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.000705/0.4759, allocations: 0.5786 MB / 0.9549 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.476, allocations: 8.625 kB / 0.9549 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.476, allocations: 42.14 kB / 0.9549 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.4761, allocations: 33.06 kB / 0.9549 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.4763, allocations: 321.3 kB / 0.9552 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4764, allocations: 4.625 kB / 0.9553 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.4764, allocations: 14.7 kB / 0.9553 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.4767, allocations: 127.1 kB / 0.9554 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4767, allocations: 0 / 0.9554 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4767, allocations: 5.219 kB / 0.9554 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.4767, allocations: 6.312 kB / 0.9554 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.477, allocations: 93.27 kB / 0.9555 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.4776, allocations: 0.4896 MB / 0.956 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.4779, allocations: 134.8 kB / 0.9561 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.478, allocations: 63.22 kB / 0.9562 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.4781, allocations: 3.984 kB / 0.9562 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.4783, allocations: 107 kB / 0.9563 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.4783, allocations: 0 / 0.9563 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005208/0.4788, allocations: 209.6 kB / 0.9565 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.4788, allocations: 52.72 kB / 0.9565 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.4791, allocations: 370.8 kB / 0.9569 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4791, allocations: 31.08 kB / 0.9569 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.4792, allocations: 153.6 kB / 0.957 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.4792, allocations: 23.78 kB / 0.9571 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.4793, allocations: 54.19 kB / 0.9571 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.4793, allocations: 339.1 kB / 0.9574 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4795, allocations: 82.52 kB / 0.9575 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.4797, allocations: 104.5 kB / 0.9576 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.48, allocations: 144.7 kB / 0.9578 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.48, allocations: 0.7812 kB / 0.9578 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004257/0.4804, allocations: 244.7 kB / 0.958 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.4805, allocations: 5.594 kB / 0.958 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4805, allocations: 3.984 kB / 0.958 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4805, allocations: 1.406 kB / 0.958 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4807, allocations: 37.73 kB / 0.958 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4807, allocations: 1.094 kB / 0.958 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.4808, allocations: 22.44 kB / 0.9581 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.4809, allocations: 5.812 kB / 0.9581 GB, free: 2.781 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 9.487e-05/0.481, allocations: 158.7 kB / 0.9582 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.481, allocations: 22.09 kB / 0.9582 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.481, allocations: 28.34 kB / 0.9583 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.481, allocations: 5.125 kB / 0.9583 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4811, allocations: 0 / 0.9583 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4811, allocations: 0 / 0.9583 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.4812, allocations: 290 kB / 0.9585 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4812, allocations: 0 / 0.9585 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.4813, allocations: 18.27 kB / 0.9586 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4813, allocations: 1.094 kB / 0.9586 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4813, allocations: 1.156 kB / 0.9586 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4814, allocations: 8.922 kB / 0.9586 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4814, allocations: 4.875 kB / 0.9586 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.4817, allocations: 194.7 kB / 0.9588 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.4818, allocations: 102.7 kB / 0.9589 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.4818, allocations: 5 kB / 0.9589 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.4819, allocations: 13.45 kB / 0.9589 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.482, allocations: 19.19 kB / 0.9589 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.482, allocations: 12.12 kB / 0.9589 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001682/0.4822, allocations: 234.8 kB / 0.9591 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4822, allocations: 0 / 0.9591 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000234/0.4824, allocations: 46.19 kB / 0.9592 GB, free: 1.875 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.001212/0.4837, allocations: 1.035 MB / 0.9602 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.4841, allocations: 170.9 kB / 0.9603 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4841, allocations: 1.25 kB / 0.9604 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.4842, allocations: 58.61 kB / 0.9604 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.4845, allocations: 72.84 kB / 0.9605 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.4871, allocations: 2.536 MB / 0.963 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.4874, allocations: 0.7613 MB / 0.9637 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.94e-05/0.4875, allocations: 26.14 kB / 0.9637 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.4877, allocations: 80.92 kB / 0.9638 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.4877, allocations: 0 / 0.9638 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.496/2.984, allocations: 5.914 MB / 0.9696 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/15.27, allocations: 5.422 kB / 0.9696 GB, free: 11.38 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