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.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.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.001337/0.001336, allocations: 106.2 kB / 16.41 MB, free: 6.457 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.001467/0.001467, allocations: 189.5 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 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.364/2.364, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 72.02 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8416, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.001966/0.8436, allocations: 0.7729 MB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.8445, allocations: 0.8664 MB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.8445, allocations: 1.344 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.8446, allocations: 10.45 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.8447, allocations: 5.297 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.8449, allocations: 42.06 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.845, allocations: 83.61 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.8451, allocations: 25.55 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.8452, allocations: 39.44 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.8453, allocations: 49.98 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.8453, allocations: 8.594 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.8454, allocations: 6.812 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.8454, allocations: 27.64 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.8454, allocations: 39.52 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.8456, allocations: 82.86 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8456, allocations: 0 / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.126e-06/0.8456, allocations: 0.6875 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.8456, allocations: 3.938 kB / 1.091 GB, free: 4.141 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005898/0.8462, allocations: 391.6 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.8463, allocations: 9.438 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.8463, allocations: 13.66 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.8464, allocations: 178.8 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.8464, allocations: 6.5 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.8465, allocations: 4.594 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.8468, allocations: 109.2 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8468, allocations: 0 / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.8468, allocations: 9.172 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.8468, allocations: 0.9375 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.8472, allocations: 97.67 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.8478, allocations: 352.3 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.8484, allocations: 118.3 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.8486, allocations: 58.98 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.8487, allocations: 1.062 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.8487, allocations: 31.5 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.8487, allocations: 1.188 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007062/0.8494, allocations: 181.4 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.8494, allocations: 52.53 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.8495, allocations: 124.2 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.8495, allocations: 25.7 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.8496, allocations: 98.02 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.8496, allocations: 23.33 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.8497, allocations: 27.38 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.8497, allocations: 315.2 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.8499, allocations: 51.66 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.8501, allocations: 48.67 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.8505, allocations: 94.92 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8505, allocations: 0 / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004125/0.8509, allocations: 133.6 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.851, allocations: 6.625 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.851, allocations: 0 / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.851, allocations: 4.938 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.8512, allocations: 26.42 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.8512, allocations: 2.109 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.8513, allocations: 17.67 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.8513, allocations: 3 kB / 1.093 GB, free: 2.203 MB / 0.8575 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.531e-05/0.8514, allocations: 114.2 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.8514, allocations: 7.344 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.8515, allocations: 15.2 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8515, allocations: 0.875 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8515, allocations: 0.9375 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8515, allocations: 4.734 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.8517, allocations: 198.1 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8517, allocations: 0.6094 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.8519, allocations: 30.8 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8519, allocations: 1 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.8519, allocations: 2.328 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8519, allocations: 7.938 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8519, allocations: 1 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.8523, allocations: 238.5 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.8524, allocations: 83.45 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.8524, allocations: 1.75 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.8526, allocations: 22.22 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.8526, allocations: 24.06 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.8527, allocations: 3.984 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.8527, allocations: 92.84 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.02e-07/0.8527, allocations: 1.062 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002334/0.8529, allocations: 23.53 kB / 1.094 GB, free: 1.473 MB / 0.8575 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.0001065/0.8531, allocations: 97.97 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.8535, allocations: 108.1 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8535, allocations: 0 / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.8537, allocations: 62.27 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.8541, allocations: 16.59 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.8545, allocations: 196.9 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.8546, allocations: 0.6977 MB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.8547, allocations: 17.09 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.8547, allocations: 0 / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of Templates: time 0.003141/0.8578, allocations: 1.241 MB / 1.096 GB, free: 372 kB / 0.8575 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