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.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.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.0008355/0.0008356, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005359/0.005359, allocations: 171 kB / 16.27 MB, free: 6.324 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.112/2.112, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002831, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.528, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001983/0.53, allocations: 1.65 MB / 0.9568 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.5314, allocations: 1.073 MB / 0.9579 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.5315, allocations: 7.594 kB / 0.9579 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.5319, allocations: 103.2 kB / 0.958 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.5321, allocations: 92.77 kB / 0.958 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.5324, allocations: 132.5 kB / 0.9582 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.5326, allocations: 205.6 kB / 0.9584 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.5328, allocations: 49.28 kB / 0.9584 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.5329, allocations: 79.78 kB / 0.9585 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.533, allocations: 91.94 kB / 0.9586 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.533, allocations: 4.125 kB / 0.9586 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.5332, allocations: 59.52 kB / 0.9586 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.5332, allocations: 52.45 kB / 0.9587 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.5333, allocations: 101.6 kB / 0.9588 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.5335, allocations: 274.3 kB / 0.959 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5336, allocations: 0 / 0.959 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5336, allocations: 3.938 kB / 0.9591 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.5336, allocations: 1.375 kB / 0.9591 GB, free: 4.766 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.0006093/0.5342, allocations: 0.5171 MB / 0.9596 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5342, allocations: 8.25 kB / 0.9596 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.5343, allocations: 41.48 kB / 0.9596 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.5343, allocations: 23.66 kB / 0.9596 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.5346, allocations: 300.3 kB / 0.9599 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5346, allocations: 7 kB / 0.9599 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.5346, allocations: 16.77 kB / 0.9599 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.5348, allocations: 95.2 kB / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.5348, allocations: 0 / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5348, allocations: 5.312 kB / 0.96 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5349, allocations: 1.312 kB / 0.96 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.535, allocations: 49.06 kB / 0.9601 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.5355, allocations: 462.5 kB / 0.9605 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.5357, allocations: 92.7 kB / 0.9606 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.5358, allocations: 31.81 kB / 0.9606 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.5358, allocations: 0.9688 kB / 0.9606 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.536, allocations: 95.95 kB / 0.9607 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.536, allocations: 0 / 0.9607 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003098/0.5363, allocations: 153.1 kB / 0.9609 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.705e-05/0.5363, allocations: 52.44 kB / 0.9609 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.5366, allocations: 364.4 kB / 0.9613 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.5366, allocations: 26.67 kB / 0.9613 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.5367, allocations: 148.7 kB / 0.9614 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.5367, allocations: 27.5 kB / 0.9615 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.5368, allocations: 20.09 kB / 0.9615 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.5368, allocations: 337.9 kB / 0.9618 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.5369, allocations: 62 kB / 0.9619 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.5371, allocations: 85.39 kB / 0.962 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.5372, allocations: 102.4 kB / 0.962 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5372, allocations: 4 kB / 0.9621 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002974/0.5375, allocations: 207 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.5376, allocations: 4.156 kB / 0.9623 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5376, allocations: 4.688 kB / 0.9623 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.5376, allocations: 1.594 kB / 0.9623 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5377, allocations: 27.98 kB / 0.9623 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.5377, allocations: 1.125 kB / 0.9623 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.5378, allocations: 26.3 kB / 0.9623 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.5379, allocations: 4.875 kB / 0.9623 GB, free: 2.039 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.842e-05/0.538, allocations: 154.6 kB / 0.9625 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.538, allocations: 22.03 kB / 0.9625 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.538, allocations: 31.23 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.538, allocations: 0.9688 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5381, allocations: 0 / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5381, allocations: 1.031 kB / 0.9625 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.5382, allocations: 254.9 kB / 0.9628 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5382, allocations: 4 kB / 0.9628 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.5383, allocations: 9.578 kB / 0.9628 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5383, allocations: 0 / 0.9628 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5383, allocations: 10.34 kB / 0.9628 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5383, allocations: 3.938 kB / 0.9628 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5383, allocations: 0 / 0.9628 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.5385, allocations: 141.6 kB / 0.9629 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.5386, allocations: 109.6 kB / 0.963 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.5386, allocations: 10.28 kB / 0.963 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5387, allocations: 21.17 kB / 0.9631 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.5388, allocations: 9.078 kB / 0.9631 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.5388, allocations: 7.578 kB / 0.9631 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001751/0.5389, allocations: 229.3 kB / 0.9633 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.539, allocations: 1.281 kB / 0.9633 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002309/0.5392, allocations: 41.81 kB / 0.9633 GB, free: 1.191 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.0011/0.5403, allocations: 1.008 MB / 0.9643 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.5405, allocations: 119.6 kB / 0.9644 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5405, allocations: 0 / 0.9644 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.5406, allocations: 39.08 kB / 0.9645 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.5409, allocations: 45.62 kB / 0.9645 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.5433, allocations: 2.404 MB / 0.9669 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.5436, allocations: 0.7527 MB / 0.9676 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.683e-05/0.5437, allocations: 33.3 kB / 0.9676 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5438, allocations: 75.5 kB / 0.9677 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5438, allocations: 0 / 0.9677 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2432/0.787, allocations: 4.883 MB / 0.9725 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.7872, allocations: 254.4 kB / 0.9727 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.408, allocations: 4 kB / 0.9727 GB, free: 11.24 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