Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001816/0.001816, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.472/2.472, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 63.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8388, allocations: 140.3 MB / 0.9489 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002415/0.8413, allocations: 0.7688 MB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.8424, allocations: 0.826 MB / 0.9505 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.8424, allocations: 1.156 kB / 0.9505 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.8425, allocations: 7.922 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.147e-05/0.8426, allocations: 5.281 kB / 0.9505 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.8428, allocations: 19.92 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.294e-05/0.8429, allocations: 38.36 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.843, allocations: 17.73 kB / 0.9506 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.8431, allocations: 22.69 kB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.8432, allocations: 26.92 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.8432, allocations: 3.156 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.8432, allocations: 1.719 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.8433, allocations: 5.328 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.8433, allocations: 23.81 kB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.8434, allocations: 44.12 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8434, allocations: 0 / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8434, allocations: 0 / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.8434, allocations: 5.156 kB / 0.9507 GB, free: 7.844 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005414/0.844, allocations: 356.2 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8441, allocations: 9.125 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.8441, allocations: 6.812 kB / 0.9511 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.8442, allocations: 175.5 kB / 0.9512 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8443, allocations: 2.156 kB / 0.9512 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.8443, allocations: 2.219 kB / 0.9512 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.8446, allocations: 76.31 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.8446, allocations: 0 / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.8446, allocations: 0 / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8446, allocations: 1.375 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.8448, allocations: 55.38 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.8453, allocations: 286.2 kB / 0.9516 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.8455, allocations: 68.52 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.8456, allocations: 30.44 kB / 0.9517 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.8456, allocations: 0 / 0.9517 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.8457, allocations: 32 kB / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.8457, allocations: 0 / 0.9518 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004372/0.8461, allocations: 116.6 kB / 0.9519 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.8462, allocations: 52.75 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.8463, allocations: 110.8 kB / 0.952 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.8463, allocations: 25.7 kB / 0.952 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.8463, allocations: 86.77 kB / 0.9521 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.8463, allocations: 13.16 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.8464, allocations: 25.64 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.8465, allocations: 320 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.8466, allocations: 25.12 kB / 0.9525 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.8467, allocations: 24.59 kB / 0.9525 GB, free: 6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.8469, allocations: 45.27 kB / 0.9526 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8469, allocations: 5.281 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000253/0.8472, allocations: 92.36 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.8472, allocations: 5.094 kB / 0.9527 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8472, allocations: 3.938 kB / 0.9527 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.8472, allocations: 1.188 kB / 0.9527 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.8474, allocations: 11.33 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.8474, allocations: 1.281 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.8475, allocations: 7.609 kB / 0.9527 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.8475, allocations: 1.156 kB / 0.9527 GB, free: 5.895 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.043e-05/0.8476, allocations: 121.3 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.8476, allocations: 10.17 kB / 0.9528 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.8477, allocations: 9.016 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.8477, allocations: 0 / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.8477, allocations: 1.219 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8477, allocations: 0 / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.8479, allocations: 183.4 kB / 0.953 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8479, allocations: 1.125 kB / 0.953 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.848, allocations: 10.86 kB / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.848, allocations: 4.906 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.848, allocations: 1.094 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.848, allocations: 0 / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.848, allocations: 1.156 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.8483, allocations: 187.5 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.8484, allocations: 82.23 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.8484, allocations: 5.062 kB / 0.9533 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.8485, allocations: 8.203 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.8486, allocations: 11.64 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.8486, allocations: 1.219 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.8486, allocations: 93.91 kB / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8486, allocations: 0 / 0.9534 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002266/0.8489, allocations: 6.344 kB / 0.9534 GB, free: 5.156 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001736/0.8491, allocations: 101.6 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.8493, allocations: 62.3 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8493, allocations: 0 / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.8495, allocations: 30.78 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.8499, allocations: 11.39 kB / 0.9536 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.8503, allocations: 140.7 kB / 0.9537 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.8505, allocations: 0.68 MB / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.731e-05/0.8506, allocations: 8.172 kB / 0.9544 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.8506, allocations: 10.06 kB / 0.9544 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.8506, allocations: 3.938 kB / 0.9544 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.003381/0.854, allocations: 0.7726 MB / 0.9552 GB, free: 3.766 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches