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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 102.1 kB / 15.98 MB, free: 5.891 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.001745/0.001745, allocations: 193.2 kB / 16.91 MB, free: 5.746 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.455/1.455, allocations: 222.9 MB / 240.6 MB, free: 4.531 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.449/2.449, allocations: 390.2 MB / 0.665 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 71.91 kB / 0.8127 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8327/0.8344, allocations: 140.4 MB / 0.9498 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003122/0.8375, allocations: 2.075 MB / 0.9518 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.839, allocations: 1.13 MB / 0.9529 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.8392, allocations: 6.5 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.8396, allocations: 101.3 kB / 0.953 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.8399, allocations: 92.48 kB / 0.9531 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.8403, allocations: 147.7 kB / 0.9533 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.8406, allocations: 262.6 kB / 0.9535 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.8408, allocations: 71.17 kB / 0.9536 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.841, allocations: 108.9 kB / 0.9537 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.8411, allocations: 130.3 kB / 0.9538 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.8412, allocations: 19.38 kB / 0.9538 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.8413, allocations: 61.3 kB / 0.9539 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.8414, allocations: 77.39 kB / 0.954 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.8415, allocations: 103.7 kB / 0.9541 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.8418, allocations: 252.8 kB / 0.9543 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8418, allocations: 0 / 0.9543 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8418, allocations: 0 / 0.9543 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.8418, allocations: 1.469 kB / 0.9543 GB, free: 5.758 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.0008411/0.8426, allocations: 0.5779 MB / 0.9549 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.8427, allocations: 13.12 kB / 0.9549 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.8428, allocations: 28.94 kB / 0.9549 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.8431, allocations: 313.7 kB / 0.9552 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.8431, allocations: 12.19 kB / 0.9552 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.8432, allocations: 11.22 kB / 0.9552 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.8435, allocations: 120.8 kB / 0.9553 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.8435, allocations: 1.062 kB / 0.9553 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.8435, allocations: 5.031 kB / 0.9553 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.8435, allocations: 1.969 kB / 0.9553 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.8438, allocations: 101 kB / 0.9554 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.8445, allocations: 0.4933 MB / 0.9559 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.8449, allocations: 127.3 kB / 0.956 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.8451, allocations: 54.2 kB / 0.9561 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.8451, allocations: 5.375 kB / 0.9561 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.8453, allocations: 106.6 kB / 0.9562 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.8454, allocations: 0 / 0.9562 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005839/0.8459, allocations: 212.3 kB / 0.9564 GB, free: 4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.846, allocations: 55.78 kB / 0.9565 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.8463, allocations: 372.8 kB / 0.9568 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.8463, allocations: 26.8 kB / 0.9568 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.8464, allocations: 154.1 kB / 0.957 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.8464, allocations: 36.78 kB / 0.957 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.8465, allocations: 42.17 kB / 0.9571 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.256e-05/0.8466, allocations: 338 kB / 0.9574 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.8468, allocations: 83.55 kB / 0.9575 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.847, allocations: 100.4 kB / 0.9576 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.8473, allocations: 146.7 kB / 0.9577 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8473, allocations: 0 / 0.9577 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005079/0.8478, allocations: 248.2 kB / 0.9579 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8478, allocations: 5.188 kB / 0.9579 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8478, allocations: 0 / 0.9579 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8479, allocations: 5.469 kB / 0.9579 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.8481, allocations: 37.91 kB / 0.958 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8481, allocations: 1.094 kB / 0.958 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.8483, allocations: 19.11 kB / 0.958 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.8483, allocations: 12.45 kB / 0.958 GB, free: 2.797 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.0001192/0.8484, allocations: 158.3 kB / 0.9582 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.8485, allocations: 26.31 kB / 0.9582 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.8485, allocations: 28.5 kB / 0.9582 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8485, allocations: 1.031 kB / 0.9582 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8485, allocations: 0 / 0.9582 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8485, allocations: 1.062 kB / 0.9582 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.8487, allocations: 281 kB / 0.9585 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8488, allocations: 4 kB / 0.9585 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.8489, allocations: 15.95 kB / 0.9585 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8489, allocations: 0 / 0.9585 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.8489, allocations: 6.078 kB / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8489, allocations: 0 / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8489, allocations: 0 / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.8493, allocations: 191.2 kB / 0.9587 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.8493, allocations: 106.4 kB / 0.9588 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.8494, allocations: 2.062 kB / 0.9588 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.8495, allocations: 21.34 kB / 0.9588 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.8496, allocations: 18.33 kB / 0.9588 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.8496, allocations: 11.78 kB / 0.9588 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002034/0.8498, allocations: 231 kB / 0.9591 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8498, allocations: 3.938 kB / 0.9591 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002749/0.8501, allocations: 51.33 kB / 0.9591 GB, free: 1.902 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.0009637/0.8511, allocations: 421.2 kB / 0.9595 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.8515, allocations: 169 kB / 0.9597 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8515, allocations: 0 / 0.9597 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.8517, allocations: 70.3 kB / 0.9597 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.8521, allocations: 55.06 kB / 0.9598 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.8528, allocations: 0.504 MB / 0.9603 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.853, allocations: 0.7602 MB / 0.961 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-05/0.8531, allocations: 29.67 kB / 0.9611 GB, free: 444 kB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.8531, allocations: 1.062 kB / 0.9611 GB, free: 444 kB / 0.7169 GB Notification: Performance of Templates: time 0.005572/0.8587, allocations: 3.479 MB / 0.9645 GB, free: 14.65 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) "" Variables in the reference:time,gre.u1,gre.u2,gre.y,greHys.y Variables in the result:gre.u1,gre.u2,gre.y,greHys.y,time