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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00105/0.00105, allocations: 194.4 kB / 16.14 MB, free: 6.691 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.1/2.1, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 75.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5091, allocations: 140.4 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002438/0.5116, allocations: 2.068 MB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.5128, allocations: 1.132 MB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.5129, allocations: 7.094 kB / 0.9522 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.5132, allocations: 108.5 kB / 0.9523 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.5134, allocations: 91.62 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.5137, allocations: 144.8 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.5139, allocations: 241.9 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.514, allocations: 75.86 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.5142, allocations: 97.19 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.5143, allocations: 120.5 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.5143, allocations: 7.75 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.5144, allocations: 59.58 kB / 0.9531 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.5145, allocations: 58.11 kB / 0.9532 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.5146, allocations: 107.3 kB / 0.9533 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.5148, allocations: 307.1 kB / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5148, allocations: 0 / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5148, allocations: 0 / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.5148, allocations: 1.219 kB / 0.9536 GB, free: 5.727 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.0007086/0.5156, allocations: 0.5783 MB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.5156, allocations: 8.656 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.5156, allocations: 46.39 kB / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.5157, allocations: 29.28 kB / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.516, allocations: 317.4 kB / 0.9545 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.516, allocations: 3.656 kB / 0.9545 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.516, allocations: 11.28 kB / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.5163, allocations: 126.9 kB / 0.9546 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.5163, allocations: 0 / 0.9546 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.5163, allocations: 1.469 kB / 0.9546 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5163, allocations: 10.84 kB / 0.9547 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.5166, allocations: 91.81 kB / 0.9547 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.5172, allocations: 0.4972 MB / 0.9552 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.5175, allocations: 131.5 kB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.5177, allocations: 54.7 kB / 0.9554 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.5177, allocations: 5.234 kB / 0.9554 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.5179, allocations: 112.8 kB / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5179, allocations: 0 / 0.9555 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000513/0.5185, allocations: 202.9 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.5185, allocations: 57.73 kB / 0.9558 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.5188, allocations: 369.4 kB / 0.9561 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5188, allocations: 31.95 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.5189, allocations: 148.9 kB / 0.9563 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.5189, allocations: 27.92 kB / 0.9563 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.519, allocations: 55.12 kB / 0.9564 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.519, allocations: 333.9 kB / 0.9567 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.5192, allocations: 83.42 kB / 0.9568 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.5194, allocations: 102.3 kB / 0.9569 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.5197, allocations: 148.1 kB / 0.957 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5197, allocations: 0 / 0.957 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004248/0.5202, allocations: 248.1 kB / 0.9572 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5202, allocations: 6.531 kB / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.5202, allocations: 0 / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.5202, allocations: 1.5 kB / 0.9573 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.5204, allocations: 32.44 kB / 0.9573 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5204, allocations: 1.375 kB / 0.9573 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.5205, allocations: 27 kB / 0.9573 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.5206, allocations: 5.5 kB / 0.9573 GB, free: 2.727 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.66e-05/0.5207, allocations: 157.1 kB / 0.9575 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.5207, allocations: 22.72 kB / 0.9575 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.5208, allocations: 27.41 kB / 0.9575 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5208, allocations: 5.359 kB / 0.9575 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5208, allocations: 0 / 0.9575 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5208, allocations: 5.359 kB / 0.9575 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.5209, allocations: 285.4 kB / 0.9578 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5209, allocations: 4 kB / 0.9578 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.521, allocations: 14.98 kB / 0.9578 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5211, allocations: 3.938 kB / 0.9578 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5211, allocations: 1.375 kB / 0.9578 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5211, allocations: 5.312 kB / 0.9578 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5211, allocations: 0 / 0.9578 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.5215, allocations: 199.4 kB / 0.958 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.5215, allocations: 97.64 kB / 0.9581 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.5215, allocations: 6.438 kB / 0.9581 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.5217, allocations: 16.28 kB / 0.9581 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.5217, allocations: 19.97 kB / 0.9582 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.5218, allocations: 6.844 kB / 0.9582 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001806/0.5219, allocations: 235.5 kB / 0.9584 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.522, allocations: 96 / 0.9584 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002964/0.5223, allocations: 54.44 kB / 0.9584 GB, free: 1.82 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.001295/0.5236, allocations: 1.038 MB / 0.9594 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.5239, allocations: 162.8 kB / 0.9596 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.524, allocations: 0 / 0.9596 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.5241, allocations: 66.58 kB / 0.9597 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.5244, allocations: 51.33 kB / 0.9597 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.5273, allocations: 2.582 MB / 0.9622 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.5276, allocations: 0.7592 MB / 0.963 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000115/0.5277, allocations: 37.31 kB / 0.963 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.5278, allocations: 80.64 kB / 0.9631 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5278, allocations: 0 / 0.9631 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.21/1.738, allocations: 5.54 MB / 0.9685 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/1.738, allocations: 251.6 kB / 0.9687 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/3.8, allocations: 0 / 0.9687 GB, free: 11.29 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