Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00556/0.00556, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001357/0.001357, allocations: 192.2 kB / 16.79 MB, free: 5.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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.404/2.404, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6949, allocations: 140.4 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.001886/0.6968, allocations: 0.8332 MB / 0.9504 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007528/0.6976, allocations: 0.8538 MB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.6977, allocations: 1.375 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.6977, allocations: 3.938 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.534e-05/0.6978, allocations: 15.91 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.698, allocations: 30.84 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.6981, allocations: 82.16 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.6982, allocations: 25.59 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.6983, allocations: 41.53 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.6983, allocations: 48.19 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.6984, allocations: 5.5 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.6984, allocations: 5.5 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.6984, allocations: 18.67 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.6985, allocations: 29.36 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.854e-05/0.6985, allocations: 60.3 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6985, allocations: 3.938 kB / 0.9516 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6986, allocations: 5.188 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6986, allocations: 0 / 0.9516 GB, free: 7.562 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005782/0.6991, allocations: 395.6 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6992, allocations: 12.2 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.6992, allocations: 13.25 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.6993, allocations: 172.9 kB / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.6994, allocations: 6.938 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.6994, allocations: 4.406 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.6997, allocations: 104.5 kB / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.6997, allocations: 0 / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6997, allocations: 5.156 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6997, allocations: 1.156 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.7001, allocations: 103.4 kB / 0.9524 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.7006, allocations: 348.8 kB / 0.9527 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.7012, allocations: 123.2 kB / 0.9528 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.7014, allocations: 54.5 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.7014, allocations: 1.375 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.7014, allocations: 35.69 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.7014, allocations: 0 / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.00062/0.7021, allocations: 179.2 kB / 0.9531 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.7021, allocations: 57.61 kB / 0.9532 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.7022, allocations: 124.5 kB / 0.9533 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.7022, allocations: 29.7 kB / 0.9533 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.7022, allocations: 95.52 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.7023, allocations: 22.16 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.7023, allocations: 24.42 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.7024, allocations: 324.4 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.7025, allocations: 48.38 kB / 0.9538 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.7027, allocations: 48.67 kB / 0.9538 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.703, allocations: 88.38 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.703, allocations: 0 / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003722/0.7034, allocations: 148 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7034, allocations: 5.094 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7034, allocations: 0 / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7035, allocations: 5.094 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.7036, allocations: 22.5 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7036, allocations: 1.359 kB / 0.9541 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.7038, allocations: 15.61 kB / 0.9541 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.7038, allocations: 10.12 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.831e-05/0.7039, allocations: 121.2 kB / 0.9542 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.7039, allocations: 7.094 kB / 0.9542 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.7039, allocations: 13.5 kB / 0.9543 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7039, allocations: 1.031 kB / 0.9543 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.704, allocations: 5.141 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.704, allocations: 7.938 kB / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.7041, allocations: 195.5 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7041, allocations: 1.062 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.7043, allocations: 31.16 kB / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7043, allocations: 0 / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.7043, allocations: 1.406 kB / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7043, allocations: 0 / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7043, allocations: 1.75 kB / 0.9545 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.7047, allocations: 237.6 kB / 0.9547 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.7048, allocations: 83.31 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.7048, allocations: 5.094 kB / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.705, allocations: 11.58 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.705, allocations: 23.84 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.7051, allocations: 5.031 kB / 0.9548 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.7051, allocations: 94.02 kB / 0.9549 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7051, allocations: 3.938 kB / 0.9549 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002356/0.7053, allocations: 23.97 kB / 0.955 GB, free: 4.52 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: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001118/0.7055, allocations: 108.1 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.7059, allocations: 98.59 kB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7059, allocations: 0 / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.7061, allocations: 64.73 kB / 0.9552 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.7064, allocations: 14.17 kB / 0.9552 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.7068, allocations: 207 kB / 0.9554 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.7069, allocations: 0.6936 MB / 0.9561 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.707, allocations: 20.52 kB / 0.9561 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.707, allocations: 1.094 kB / 0.9561 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.002603/0.7096, allocations: 1.228 MB / 0.9573 GB, free: 2.789 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches