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.001939/0.001939, allocations: 108 kB / 15.6 MB, free: 132 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.002416/0.002415, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.637/2.637, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 75.88 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8221, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.004481/0.8267, allocations: 2.011 MB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.8287, allocations: 1.162 MB / 0.9527 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.8289, allocations: 7.469 kB / 0.9527 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.8295, allocations: 105.4 kB / 0.9528 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.8298, allocations: 108.3 kB / 0.9529 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.8303, allocations: 180.8 kB / 0.9531 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.8307, allocations: 255.7 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.831, allocations: 70.17 kB / 0.9534 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.8312, allocations: 110 kB / 0.9535 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.8313, allocations: 115.7 kB / 0.9536 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.8314, allocations: 19.66 kB / 0.9536 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.8316, allocations: 73.45 kB / 0.9537 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.916e-05/0.8317, allocations: 67.31 kB / 0.9538 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.8318, allocations: 99.16 kB / 0.9538 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.8322, allocations: 317.7 kB / 0.9542 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.8323, allocations: 5.219 kB / 0.9542 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8323, allocations: 0 / 0.9542 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.8323, allocations: 0 / 0.9542 GB, free: 5.715 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.001168/0.8335, allocations: 0.5784 MB / 0.9547 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.8335, allocations: 9.562 kB / 0.9547 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.314e-05/0.8336, allocations: 28.81 kB / 0.9548 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.8341, allocations: 313.8 kB / 0.9551 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.8341, allocations: 12.66 kB / 0.9551 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.8342, allocations: 6.875 kB / 0.9551 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.8345, allocations: 125.9 kB / 0.9552 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8345, allocations: 4 kB / 0.9552 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.8345, allocations: 5.438 kB / 0.9552 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.8346, allocations: 5.344 kB / 0.9552 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.8349, allocations: 98.41 kB / 0.9553 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.8357, allocations: 499 kB / 0.9558 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.8361, allocations: 124.5 kB / 0.9559 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.8363, allocations: 58.83 kB / 0.956 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.8363, allocations: 9.094 kB / 0.956 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.8366, allocations: 111.9 kB / 0.9561 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.8366, allocations: 3.938 kB / 0.9561 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006296/0.8372, allocations: 213 kB / 0.9563 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.8373, allocations: 56.8 kB / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.8377, allocations: 369.5 kB / 0.9567 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.8377, allocations: 26.92 kB / 0.9567 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.8378, allocations: 153.5 kB / 0.9569 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.8379, allocations: 29.55 kB / 0.9569 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.834e-05/0.838, allocations: 41.36 kB / 0.9569 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.8381, allocations: 354 kB / 0.9573 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.8383, allocations: 76.39 kB / 0.9573 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.8385, allocations: 98.98 kB / 0.9574 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.8388, allocations: 150.5 kB / 0.9576 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8389, allocations: 0 / 0.9576 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005076/0.8394, allocations: 243 kB / 0.9578 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.8394, allocations: 6.594 kB / 0.9578 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8394, allocations: 1.375 kB / 0.9578 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8394, allocations: 1.375 kB / 0.9578 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.8396, allocations: 36.66 kB / 0.9578 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.8397, allocations: 5.406 kB / 0.9579 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.8398, allocations: 22.97 kB / 0.9579 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.8399, allocations: 5.5 kB / 0.9579 GB, free: 2.754 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.0001361/0.84, allocations: 157.1 kB / 0.958 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.8401, allocations: 22.72 kB / 0.9581 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.8401, allocations: 27.41 kB / 0.9581 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8401, allocations: 1.375 kB / 0.9581 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8401, allocations: 4 kB / 0.9581 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8401, allocations: 1.375 kB / 0.9581 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.8404, allocations: 281.5 kB / 0.9584 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8404, allocations: 3.984 kB / 0.9584 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.8405, allocations: 22.42 kB / 0.9584 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8405, allocations: 1.312 kB / 0.9584 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.8405, allocations: 5.156 kB / 0.9584 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8405, allocations: 0 / 0.9584 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8405, allocations: 1.344 kB / 0.9584 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.841, allocations: 194.7 kB / 0.9586 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.841, allocations: 97.73 kB / 0.9587 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.8411, allocations: 9.938 kB / 0.9587 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.8412, allocations: 22 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.8413, allocations: 22.53 kB / 0.9587 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.8413, allocations: 3.531 kB / 0.9587 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002604/0.8416, allocations: 239.1 kB / 0.9589 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8416, allocations: 0 / 0.9589 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002928/0.8419, allocations: 38.88 kB / 0.959 GB, free: 1.855 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.001056/0.843, allocations: 412.2 kB / 0.9594 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.8434, allocations: 167.7 kB / 0.9595 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8435, allocations: 4.062 kB / 0.9595 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.8436, allocations: 59.2 kB / 0.9596 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.844, allocations: 70.81 kB / 0.9597 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/0.845, allocations: 429.7 kB / 0.9601 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.8453, allocations: 0.7609 MB / 0.9608 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.8455, allocations: 37.86 kB / 0.9609 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.8456, allocations: 25.98 kB / 0.9609 GB, free: 476 kB / 0.7169 GB Notification: Performance of SimCode: time 2.284e-06/0.8456, allocations: 0 / 0.9609 GB, free: 476 kB / 0.7169 GB Notification: Performance of Templates: time 0.009711/0.8553, allocations: 3.483 MB / 0.9643 GB, free: 14.74 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/jenkins/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.h,gre.have_hysteresis,gre.pre_y_start,gre.u1,gre.u2,gre.y,greHys.greHys.h,greHys.greHys.pre_y_start,greHys.greHys.y,greHys.h,greHys.have_hysteresis,greHys.pre_y_start,greHys.y,ram.extrapolation,ram.nT,ram.nout,ram.offset[1],ram.smoothness,ram.t0,ram.tab.columns[1],ram.tab.extrapolation,ram.tab.nout,ram.tab.offset[1],ram.tab.p_offset[1],ram.tab.shiftTime,ram.tab.smoothness,ram.tab.startTime,ram.tab.t_max,ram.tab.t_maxScaled,ram.tab.t_min,ram.tab.t_minScaled,ram.tab.tableOnFile,ram.tab.table[1,1],ram.tab.table[1,2],ram.tab.table[2,1],ram.tab.table[2,2],ram.tab.table[3,1],ram.tab.table[3,2],ram.tab.table[4,1],ram.tab.table[4,2],ram.tab.table[5,1],ram.tab.table[5,2],ram.tab.table[6,1],ram.tab.table[6,2],ram.tab.timeEvents,ram.tab.timeScale,ram.tab.verboseExtrapolation,ram.tab.verboseRead,ram.table[1,1],ram.table[1,2],ram.table[2,1],ram.table[2,2],ram.table[3,1],ram.table[3,2],ram.table[4,1],ram.table[4,2],ram.table[5,1],ram.table[5,2],ram.table[6,1],ram.table[6,2],ram.timeRange,ram.timeScale,ram1.duration,ram1.height,ram1.offset,ram1.startTime,rou.fac,rou.n,rou.y,rou1.fac,rou1.n,rou1.y,time