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.001355/0.001355, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001321/0.001321, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.245/2.245, allocations: 390.3 MB / 0.6653 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 69.23 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3351, allocations: 140.4 MB / 0.9503 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003962/0.3391, allocations: 2.021 MB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.3413, allocations: 1.15 MB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.3415, allocations: 7.938 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.3421, allocations: 111.5 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.3425, allocations: 107.5 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.343, allocations: 167.5 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.3434, allocations: 263.2 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.3437, allocations: 72.27 kB / 0.9541 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.3439, allocations: 115.5 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.3441, allocations: 115.5 kB / 0.9543 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.526e-05/0.3442, allocations: 16 kB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.3444, allocations: 75.89 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3445, allocations: 59.83 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3446, allocations: 103.3 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.3451, allocations: 315.3 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3451, allocations: 0 / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3451, allocations: 4 kB / 0.9548 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.3451, allocations: 3.938 kB / 0.9549 GB, free: 4.094 MB / 0.7325 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.001207/0.3463, allocations: 0.5762 MB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3464, allocations: 12.03 kB / 0.9554 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.678e-05/0.3465, allocations: 32.56 kB / 0.9555 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.3469, allocations: 308 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.347, allocations: 15.94 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.347, allocations: 11.94 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.3473, allocations: 123.7 kB / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3474, allocations: 0 / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.3474, allocations: 4 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3474, allocations: 4 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.3477, allocations: 95.86 kB / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008914/0.3486, allocations: 496.3 kB / 0.9565 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.3491, allocations: 142.6 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.3492, allocations: 48.83 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.3493, allocations: 0 / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.3496, allocations: 119.5 kB / 0.9568 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.3496, allocations: 0 / 0.9568 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006889/0.3503, allocations: 217.1 kB / 0.957 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3504, allocations: 55.41 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.3508, allocations: 370.9 kB / 0.9574 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3508, allocations: 29.7 kB / 0.9574 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.351, allocations: 147.9 kB / 0.9575 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.351, allocations: 31.64 kB / 0.9576 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.3511, allocations: 45.61 kB / 0.9576 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3513, allocations: 338.8 kB / 0.9579 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.3515, allocations: 76.33 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.3517, allocations: 109.7 kB / 0.9581 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.3521, allocations: 144.8 kB / 0.9583 GB, free: 376 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3521, allocations: 0 / 0.9583 GB, free: 376 kB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005341/0.3527, allocations: 245.2 kB / 0.9585 GB, free: 124 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3527, allocations: 4 kB / 0.9585 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3527, allocations: 4.031 kB / 0.9585 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3527, allocations: 0 / 0.9585 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.3529, allocations: 39.91 kB / 0.9585 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.353, allocations: 0 / 0.9585 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3532, allocations: 23.92 kB / 0.9586 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.3532, allocations: 4 kB / 0.9586 GB, free: 48 kB / 0.7325 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.0001977/0.3534, allocations: 165.2 kB / 0.9587 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.3535, allocations: 35.62 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.3535, allocations: 25.78 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.3536, allocations: 3.984 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3536, allocations: 4 kB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3536, allocations: 0 / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.3539, allocations: 273.5 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3539, allocations: 0 / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.354, allocations: 11.98 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.354, allocations: 4 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.354, allocations: 7.984 kB / 0.9591 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.354, allocations: 7.938 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.354, allocations: 0 / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.3545, allocations: 188.7 kB / 0.9593 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.3546, allocations: 100.8 kB / 0.9594 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.3546, allocations: 8 kB / 0.9594 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3548, allocations: 19.97 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.3549, allocations: 19.98 kB / 0.9594 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3549, allocations: 7.984 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002543/0.3552, allocations: 229.9 kB / 0.9596 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.3552, allocations: 0 / 0.9596 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002981/0.3555, allocations: 51.83 kB / 0.9597 GB, free: 14.82 MB / 0.7481 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.001171/0.3566, allocations: 428.8 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.3572, allocations: 159.8 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3572, allocations: 4 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.3574, allocations: 59.89 kB / 0.9603 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3578, allocations: 61.28 kB / 0.9604 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/0.3588, allocations: 458.1 kB / 0.9608 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.3592, allocations: 0.763 MB / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.3593, allocations: 31.42 kB / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.3593, allocations: 0 / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.007229/0.3665, allocations: 3.484 MB / 0.965 GB, free: 9.5 MB / 0.7481 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