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.001277/0.001277, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.001408/0.001408, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.14 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.356/2.356, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 67.89 kB / 0.9516 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.934/0.9358, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003461/0.9393, allocations: 2.024 MB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.9413, allocations: 1.154 MB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.9415, allocations: 8.094 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.942, allocations: 108.2 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.9423, allocations: 103 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.9428, allocations: 167.2 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.9432, allocations: 259.4 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.9435, allocations: 81.22 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.9437, allocations: 118.6 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.9439, allocations: 123.9 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.944, allocations: 14.75 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.9442, allocations: 67.88 kB / 1.093 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.9443, allocations: 66.23 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.9444, allocations: 107.6 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.9449, allocations: 325.4 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9449, allocations: 0.7188 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9449, allocations: 0 / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.945, allocations: 0.5938 kB / 1.093 GB, free: 2.582 MB / 0.8575 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.001046/0.946, allocations: 0.5722 MB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.9461, allocations: 9.875 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.9461, allocations: 29.3 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.9466, allocations: 322.7 kB / 1.094 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.9466, allocations: 12.5 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.9466, allocations: 14.5 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.947, allocations: 123.8 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.947, allocations: 0.7031 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.9471, allocations: 1.562 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.9471, allocations: 5.75 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.9474, allocations: 103.1 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.9483, allocations: 0.4901 MB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.9488, allocations: 131.4 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.949, allocations: 55.09 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.949, allocations: 2.969 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.9493, allocations: 111.3 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.9493, allocations: 0 / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0006995/0.95, allocations: 207.5 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.95, allocations: 53.7 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.9506, allocations: 366.9 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.9506, allocations: 36.28 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.9507, allocations: 154.3 kB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.9508, allocations: 31.14 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.9509, allocations: 48.31 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.951, allocations: 334.3 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.9512, allocations: 79.7 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.9514, allocations: 102.1 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.9518, allocations: 146 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9518, allocations: 0 / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005656/0.9524, allocations: 245 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.9524, allocations: 9.844 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9524, allocations: 1.531 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.9525, allocations: 0.5625 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.9527, allocations: 32.69 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.9527, allocations: 2.453 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.9529, allocations: 24.03 kB / 1.097 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.9529, allocations: 6.812 kB / 1.097 GB, free: 68 kB / 0.8575 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.0001883/0.9531, allocations: 164.1 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.9532, allocations: 22.78 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.579e-05/0.9533, allocations: 26.88 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.9533, allocations: 0.9062 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9533, allocations: 13.09 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.9533, allocations: 0.7031 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.9537, allocations: 277.3 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9537, allocations: 0.7031 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.9538, allocations: 14.61 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.9538, allocations: 1.281 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.9538, allocations: 7.656 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9539, allocations: 0 / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9539, allocations: 5.281 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.9544, allocations: 185.3 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.9545, allocations: 103.3 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.9545, allocations: 3.359 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.9547, allocations: 27.02 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.9548, allocations: 18.78 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.9548, allocations: 3.812 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002874/0.9551, allocations: 234 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9551, allocations: 0 / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003063/0.9554, allocations: 48.56 kB / 1.098 GB, free: 15.29 MB / 0.8731 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.00116/0.9566, allocations: 435.3 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005262/0.9571, allocations: 158.1 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9572, allocations: 1.531 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.9574, allocations: 59.67 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.9578, allocations: 59.11 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.9588, allocations: 448.7 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.9592, allocations: 0.7554 MB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.9593, allocations: 26.02 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of SimCode: time 6.32e-07/0.9593, allocations: 4 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of Templates: time 0.009534/0.9688, allocations: 3.501 MB / 1.103 GB, free: 13.61 MB / 0.8731 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