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: 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.001433/0.001437, allocations: 100.1 kB / 15.88 MB, free: 12 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.001598/0.001598, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.617 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.399/2.399, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7885, allocations: 140.3 MB / 0.9496 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003466/0.792, allocations: 2.071 MB / 0.9516 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.7939, allocations: 1.136 MB / 0.9527 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.7941, allocations: 7.188 kB / 0.9527 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.7945, allocations: 106.9 kB / 0.9528 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.7947, allocations: 83.81 kB / 0.9529 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.7951, allocations: 154.4 kB / 0.9531 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002805/0.7954, allocations: 240.5 kB / 0.9533 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.7956, allocations: 72.83 kB / 0.9534 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.7958, allocations: 96.48 kB / 0.9535 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.796, allocations: 117 kB / 0.9536 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.796, allocations: 6.875 kB / 0.9536 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.7962, allocations: 64.27 kB / 0.9536 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.493e-05/0.7963, allocations: 57.84 kB / 0.9537 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.7964, allocations: 102.9 kB / 0.9538 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.7967, allocations: 247.1 kB / 0.954 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7967, allocations: 0 / 0.954 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7967, allocations: 0 / 0.954 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.7967, allocations: 4 kB / 0.954 GB, free: 6.027 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.00106/0.7978, allocations: 0.5756 MB / 0.9546 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7979, allocations: 8.25 kB / 0.9546 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.798, allocations: 34.06 kB / 0.9546 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.7983, allocations: 316.7 kB / 0.9549 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.7984, allocations: 16.89 kB / 0.955 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.7984, allocations: 10.38 kB / 0.955 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.7987, allocations: 121.2 kB / 0.9551 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7988, allocations: 0 / 0.9551 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.7988, allocations: 5.094 kB / 0.9551 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.7988, allocations: 3.5 kB / 0.9551 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.7991, allocations: 96.73 kB / 0.9552 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.7999, allocations: 495.8 kB / 0.9557 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.8004, allocations: 139.8 kB / 0.9558 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.8005, allocations: 50.27 kB / 0.9558 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.8006, allocations: 2.25 kB / 0.9558 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.8009, allocations: 109.8 kB / 0.9559 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.8009, allocations: 1.156 kB / 0.9559 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006676/0.8015, allocations: 213 kB / 0.9561 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.8016, allocations: 52.59 kB / 0.9562 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.802, allocations: 369.8 kB / 0.9565 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.8021, allocations: 27.23 kB / 0.9566 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.8022, allocations: 161.6 kB / 0.9567 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.8022, allocations: 28.66 kB / 0.9568 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.8023, allocations: 45.84 kB / 0.9568 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.8024, allocations: 338.1 kB / 0.9571 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.8026, allocations: 76.95 kB / 0.9572 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.8028, allocations: 107.1 kB / 0.9573 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.8031, allocations: 151.6 kB / 0.9574 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8031, allocations: 0 / 0.9574 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005229/0.8037, allocations: 243.7 kB / 0.9577 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8037, allocations: 8.453 kB / 0.9577 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8037, allocations: 1.344 kB / 0.9577 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.8037, allocations: 5.281 kB / 0.9577 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.8039, allocations: 33.02 kB / 0.9577 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.8039, allocations: 5.031 kB / 0.9577 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.8041, allocations: 23.19 kB / 0.9577 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.8041, allocations: 4.594 kB / 0.9578 GB, free: 3.07 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.0001404/0.8043, allocations: 162.6 kB / 0.9579 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.8043, allocations: 29.91 kB / 0.9579 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.8044, allocations: 27.53 kB / 0.958 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.8044, allocations: 1.062 kB / 0.958 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.8044, allocations: 1.031 kB / 0.958 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8044, allocations: 0 / 0.958 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.8047, allocations: 277.2 kB / 0.9582 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8047, allocations: 1.5 kB / 0.9582 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.8048, allocations: 13.95 kB / 0.9582 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8048, allocations: 0 / 0.9582 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.8048, allocations: 9.859 kB / 0.9583 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8048, allocations: 6 kB / 0.9583 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8048, allocations: 0 / 0.9583 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.8052, allocations: 189.8 kB / 0.9584 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.8053, allocations: 102.1 kB / 0.9585 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.8053, allocations: 6.156 kB / 0.9585 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.8055, allocations: 17.11 kB / 0.9586 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.8056, allocations: 23.72 kB / 0.9586 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.8056, allocations: 11.3 kB / 0.9586 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002489/0.8059, allocations: 231.2 kB / 0.9588 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8059, allocations: 0 / 0.9588 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002968/0.8062, allocations: 42.8 kB / 0.9589 GB, free: 2.18 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.001115/0.8073, allocations: 427.1 kB / 0.9593 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.8078, allocations: 161.9 kB / 0.9594 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8078, allocations: 1.094 kB / 0.9594 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.808, allocations: 62.14 kB / 0.9595 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.8083, allocations: 57 kB / 0.9595 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/0.8091, allocations: 0.5009 MB / 0.96 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.8094, allocations: 0.7652 MB / 0.9608 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.545e-05/0.8095, allocations: 25.02 kB / 0.9608 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.8095, allocations: 0 / 0.9608 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of Templates: time 0.00692/0.8164, allocations: 3.48 MB / 0.9642 GB, free: 14.92 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