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.0009679/0.0009678, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001292/0.001292, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.293 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.643/2.643, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004523, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8605/0.861, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.0009934/0.862, allocations: 487.5 kB / 0.9549 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00084/0.8629, allocations: 0.8587 MB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.8629, allocations: 1.25 kB / 0.9557 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.8629, allocations: 3.938 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.863, allocations: 5.031 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.8632, allocations: 31.58 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.8633, allocations: 73.77 kB / 0.9559 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.8634, allocations: 21.61 kB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.8635, allocations: 35.89 kB / 0.9559 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.275e-05/0.8636, allocations: 36.75 kB / 0.9559 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.8636, allocations: 4.25 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.8636, allocations: 2.469 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.8637, allocations: 22.17 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.8637, allocations: 29.05 kB / 0.956 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.705e-05/0.8638, allocations: 56.06 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.8638, allocations: 1.25 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8638, allocations: 4 kB / 0.9561 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.8638, allocations: 0 / 0.9561 GB, free: 6.395 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.0005255/0.8643, allocations: 395.8 kB / 0.9564 GB, free: 6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.8644, allocations: 9.188 kB / 0.9564 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.8644, allocations: 15.97 kB / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.8645, allocations: 184.5 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.8646, allocations: 2.875 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.8646, allocations: 6.656 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.8649, allocations: 114.2 kB / 0.9568 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8649, allocations: 4 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.8649, allocations: 1.219 kB / 0.9568 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.8649, allocations: 5.234 kB / 0.9568 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.8653, allocations: 122.6 kB / 0.9569 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.8658, allocations: 341.1 kB / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.8663, allocations: 139.7 kB / 0.9573 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.8665, allocations: 65.25 kB / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.8666, allocations: 0 / 0.9574 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.8666, allocations: 40.14 kB / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.8666, allocations: 0 / 0.9574 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005941/0.8672, allocations: 208.1 kB / 0.9576 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.8672, allocations: 56.47 kB / 0.9577 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.8673, allocations: 137.8 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.8673, allocations: 25.7 kB / 0.9578 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.8674, allocations: 86.77 kB / 0.9579 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.8674, allocations: 22.47 kB / 0.958 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.8674, allocations: 0 / 0.958 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.8675, allocations: 325 kB / 0.9583 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.8676, allocations: 53.08 kB / 0.9583 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.8678, allocations: 58.42 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.868, allocations: 56.97 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.868, allocations: 1.469 kB / 0.9584 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003582/0.8683, allocations: 161.6 kB / 0.9586 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8684, allocations: 13.48 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8684, allocations: 0 / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.8684, allocations: 1.531 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.8686, allocations: 31.78 kB / 0.9586 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8686, allocations: 4 kB / 0.9586 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.8687, allocations: 17.11 kB / 0.9586 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.8687, allocations: 5.969 kB / 0.9587 GB, free: 4.188 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 (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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.8688, allocations: 117.8 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.8688, allocations: 15.67 kB / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.8688, allocations: 10.12 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8688, allocations: 3.938 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8689, allocations: 0 / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8689, allocations: 1.562 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.869, allocations: 195.5 kB / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.869, allocations: 0 / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.8692, allocations: 31.38 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8692, allocations: 5.234 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.8692, allocations: 0.9688 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8692, allocations: 0 / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8692, allocations: 1.312 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.8696, allocations: 257.5 kB / 0.9593 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.8697, allocations: 86.48 kB / 0.9593 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.8697, allocations: 5.328 kB / 0.9593 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.8698, allocations: 21.72 kB / 0.9594 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.8699, allocations: 22.84 kB / 0.9594 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.8699, allocations: 1.375 kB / 0.9594 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.87, allocations: 92.89 kB / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.87, allocations: 0 / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002247/0.8702, allocations: 24.22 kB / 0.9595 GB, free: 3.391 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/0.8703, allocations: 104.9 kB / 0.9596 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.8707, allocations: 131.4 kB / 0.9597 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8707, allocations: 1.375 kB / 0.9597 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.8709, allocations: 71.95 kB / 0.9598 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.8712, allocations: 12.11 kB / 0.9598 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.8716, allocations: 189.2 kB / 0.96 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.8717, allocations: 0.6982 MB / 0.9607 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.665e-05/0.8718, allocations: 15.05 kB / 0.9607 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.8719, allocations: 12.94 kB / 0.9607 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8719, allocations: 0 / 0.9607 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of Templates: time 0.003834/0.8757, allocations: 1.303 MB / 0.962 GB, free: 1.645 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/jenkins/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