Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.001152/0.001152, allocations: 108 kB / 15.6 MB, free: 128 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.001106/0.001106, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.178/1.178, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.037/2.037, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.91 kB / 0.8127 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4969, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002566/0.4995, allocations: 1.959 MB / 0.9516 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.5008, allocations: 1.109 MB / 0.9527 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-05/0.5009, allocations: 6.906 kB / 0.9527 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.5012, allocations: 112.9 kB / 0.9528 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.5015, allocations: 96.08 kB / 0.9529 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.5018, allocations: 157.1 kB / 0.9531 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.502, allocations: 220.2 kB / 0.9533 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.5021, allocations: 52.53 kB / 0.9533 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.5023, allocations: 96.86 kB / 0.9534 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.5024, allocations: 99.91 kB / 0.9535 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.5024, allocations: 12.5 kB / 0.9535 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.5025, allocations: 65.56 kB / 0.9536 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.5026, allocations: 58.48 kB / 0.9537 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.5027, allocations: 92.73 kB / 0.9538 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.503, allocations: 280.1 kB / 0.954 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.503, allocations: 1.125 kB / 0.954 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.503, allocations: 0 / 0.954 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.503, allocations: 4 kB / 0.954 GB, free: 5.941 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006458/0.5036, allocations: 0.5459 MB / 0.9546 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.5037, allocations: 10.91 kB / 0.9546 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.5037, allocations: 40.09 kB / 0.9546 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.5038, allocations: 32.23 kB / 0.9546 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.5041, allocations: 295.6 kB / 0.9549 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.5041, allocations: 11.97 kB / 0.9549 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.5041, allocations: 11.7 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.5043, allocations: 88.84 kB / 0.955 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.5043, allocations: 3.938 kB / 0.955 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5043, allocations: 5.016 kB / 0.955 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5043, allocations: 2.312 kB / 0.955 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.5044, allocations: 48.3 kB / 0.9551 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.505, allocations: 448.5 kB / 0.9555 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.5052, allocations: 93.3 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.5053, allocations: 31.22 kB / 0.9556 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.5053, allocations: 5.781 kB / 0.9556 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.5054, allocations: 83.38 kB / 0.9557 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.5054, allocations: 0 / 0.9557 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003383/0.5058, allocations: 148.3 kB / 0.9559 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.5058, allocations: 60.97 kB / 0.9559 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.5061, allocations: 367.7 kB / 0.9563 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.5061, allocations: 31.95 kB / 0.9563 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.5062, allocations: 144.5 kB / 0.9564 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.5062, allocations: 23.17 kB / 0.9565 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.5063, allocations: 45.75 kB / 0.9565 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.5063, allocations: 333.8 kB / 0.9568 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.5065, allocations: 61.38 kB / 0.9569 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.5066, allocations: 85.47 kB / 0.957 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.5067, allocations: 106.9 kB / 0.9571 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5067, allocations: 0 / 0.9571 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002808/0.507, allocations: 201.5 kB / 0.9573 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.507, allocations: 4.562 kB / 0.9573 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5071, allocations: 8.969 kB / 0.9573 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.5071, allocations: 1.688 kB / 0.9573 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.5072, allocations: 23.3 kB / 0.9573 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5072, allocations: 1 kB / 0.9573 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.5073, allocations: 23.98 kB / 0.9573 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.5074, allocations: 8.422 kB / 0.9573 GB, free: 3.188 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 (19): * Single equations (assignments): 19 * 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.681e-05/0.5075, allocations: 154 kB / 0.9575 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.5075, allocations: 21.28 kB / 0.9575 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.5075, allocations: 31.39 kB / 0.9575 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5076, allocations: 1.375 kB / 0.9575 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5076, allocations: 1.375 kB / 0.9575 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5076, allocations: 0 / 0.9575 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.5077, allocations: 262.6 kB / 0.9578 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5077, allocations: 4 kB / 0.9578 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.5078, allocations: 5.5 kB / 0.9578 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5078, allocations: 0 / 0.9578 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5078, allocations: 9.312 kB / 0.9578 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5078, allocations: 1.375 kB / 0.9578 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5078, allocations: 3.938 kB / 0.9578 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.508, allocations: 145 kB / 0.9579 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.508, allocations: 114.4 kB / 0.958 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.5081, allocations: 9.312 kB / 0.9581 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.5082, allocations: 9.484 kB / 0.9581 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.5082, allocations: 14.86 kB / 0.9581 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.5082, allocations: 2.75 kB / 0.9581 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000169/0.5084, allocations: 233.8 kB / 0.9583 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5084, allocations: 0 / 0.9583 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002277/0.5087, allocations: 35 kB / 0.9583 GB, free: 2.336 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 (8): * Single equations (assignments): 6 * 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.00112/0.5098, allocations: 1.005 MB / 0.9593 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.51, allocations: 123 kB / 0.9594 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.51, allocations: 0 / 0.9594 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.5101, allocations: 37.84 kB / 0.9595 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.5105, allocations: 58.03 kB / 0.9595 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.5125, allocations: 2.378 MB / 0.9618 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.5128, allocations: 0.7485 MB / 0.9626 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.811e-05/0.5129, allocations: 24.98 kB / 0.9626 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.513, allocations: 71.69 kB / 0.9627 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5131, allocations: 4.938 kB / 0.9627 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/1.57, allocations: 5.396 MB / 0.9679 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.464/11.03, allocations: 15.34 kB / 0.968 GB, free: 12.26 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches