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.001151/0.001151, allocations: 100.6 kB / 16.41 MB, free: 6.016 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.001213/0.001213, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.15 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.226/2.226, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8849, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003092/0.888, allocations: 2.02 MB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.8898, allocations: 1.151 MB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.8899, allocations: 3.438 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.8903, allocations: 111.5 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.8907, allocations: 108.7 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.8911, allocations: 173.9 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.8915, allocations: 259.7 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.8917, allocations: 81.39 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.8919, allocations: 114.8 kB / 1.093 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.8921, allocations: 123.4 kB / 1.093 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.8921, allocations: 15.19 kB / 1.093 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.8922, allocations: 68.23 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-05/0.8923, allocations: 66.38 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.8925, allocations: 107.9 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.8929, allocations: 329 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8929, allocations: 0.7188 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8929, allocations: 0 / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.8929, allocations: 0.75 kB / 1.093 GB, free: 2.598 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.0009008/0.8938, allocations: 0.5761 MB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.8939, allocations: 9.062 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.894, allocations: 33.06 kB / 1.094 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.8943, allocations: 315.5 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.8944, allocations: 15.72 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.8944, allocations: 7.891 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.8947, allocations: 126.7 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8948, allocations: 0 / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.8948, allocations: 14.19 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.8948, allocations: 2.438 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.8951, allocations: 98.2 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007876/0.8959, allocations: 493.3 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.8963, allocations: 136 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.8965, allocations: 51.75 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.8965, allocations: 1.531 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000365/0.8969, allocations: 108.3 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.873e-06/0.8969, allocations: 0.7812 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0008473/0.8978, allocations: 215 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.8978, allocations: 58.23 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.8983, allocations: 366.8 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.8983, allocations: 31.8 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.8984, allocations: 153.8 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.8985, allocations: 35.25 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.8986, allocations: 44.53 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.8986, allocations: 338.5 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.8989, allocations: 76.72 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.8991, allocations: 109.5 kB / 1.097 GB, free: 256 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.8995, allocations: 137.7 kB / 1.097 GB, free: 200 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8995, allocations: 4.688 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005296/0.9, allocations: 244.2 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.9, allocations: 6.5 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9, allocations: 0.75 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.9001, allocations: 1.812 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.9003, allocations: 36.47 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9003, allocations: 1.281 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.9005, allocations: 24.52 kB / 1.097 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.9005, allocations: 5.906 kB / 1.097 GB, free: 80 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.000171/0.9007, allocations: 167.1 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.9007, allocations: 23.31 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.644e-05/0.9008, allocations: 26.98 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9008, allocations: 5.094 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.9008, allocations: 1.172 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9008, allocations: 0.7031 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.9011, allocations: 273.8 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9011, allocations: 0.8125 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.9013, allocations: 18.83 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.9013, allocations: 4.906 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.9013, allocations: 3.609 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.9013, allocations: 0.9062 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9013, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.9018, allocations: 193.4 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.9018, allocations: 104 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.9019, allocations: 6.672 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.902, allocations: 15.77 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.9021, allocations: 22.62 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.9021, allocations: 4.281 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002583/0.9024, allocations: 233.6 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9024, allocations: 1.188 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002833/0.9027, allocations: 43.25 kB / 1.098 GB, free: 15.3 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.001019/0.9037, allocations: 439.7 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000475/0.9042, allocations: 154.1 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9042, allocations: 0 / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.9044, allocations: 60.5 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.9048, allocations: 63.77 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000879/0.9057, allocations: 452 kB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.906, allocations: 0.7524 MB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.9061, allocations: 32 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9061, allocations: 0.875 kB / 1.1 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of Templates: time 0.008237/0.9144, allocations: 3.499 MB / 1.103 GB, free: 13.62 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