Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001015/0.001016, allocations: 172.7 kB / 15.95 MB, free: 208 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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.344 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.61/2.61, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005645, allocations: 12 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.8756, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001135/0.8768, allocations: 422.1 kB / 0.9549 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.8782, allocations: 0.8301 MB / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.8783, allocations: 1.5 kB / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.8783, allocations: 0 / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.11e-05/0.8784, allocations: 3.938 kB / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.8786, allocations: 16.8 kB / 0.9557 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.097e-05/0.8787, allocations: 42.58 kB / 0.9557 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.8788, allocations: 9.281 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.8789, allocations: 19.05 kB / 0.9558 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.879, allocations: 18.8 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.879, allocations: 0.7812 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.879, allocations: 2.656 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.879, allocations: 13.38 kB / 0.9558 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.8791, allocations: 31.08 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.852e-05/0.8791, allocations: 35.11 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.8792, allocations: 0 / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8792, allocations: 4 kB / 0.9559 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.8792, allocations: 0 / 0.9559 GB, free: 6.609 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.0004556/0.8796, allocations: 351.1 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8797, allocations: 8.594 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.8797, allocations: 6.781 kB / 0.9562 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.8799, allocations: 173 kB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.8799, allocations: 2.438 kB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.8799, allocations: 5.5 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.8801, allocations: 73 kB / 0.9564 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8802, allocations: 3.938 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.8802, allocations: 1.188 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.8802, allocations: 7.938 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.8804, allocations: 64.94 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.8808, allocations: 286.9 kB / 0.9568 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.881, allocations: 72.02 kB / 0.9569 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.8812, allocations: 37.8 kB / 0.9569 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.8812, allocations: 3.953 kB / 0.9569 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.8812, allocations: 35.94 kB / 0.9569 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.8812, allocations: 0 / 0.9569 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004337/0.8817, allocations: 127 kB / 0.9571 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.8817, allocations: 52.78 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.8818, allocations: 109.9 kB / 0.9572 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.8818, allocations: 30.77 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.8819, allocations: 85.33 kB / 0.9573 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.8819, allocations: 21.92 kB / 0.9573 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.8819, allocations: 0 / 0.9573 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.882, allocations: 311.9 kB / 0.9576 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.923e-05/0.8821, allocations: 29.75 kB / 0.9577 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.8822, allocations: 33.42 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.8823, allocations: 29.22 kB / 0.9577 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8823, allocations: 0 / 0.9577 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002423/0.8825, allocations: 90.84 kB / 0.9578 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.8826, allocations: 8.547 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8826, allocations: 1.062 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8826, allocations: 3.984 kB / 0.9578 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.8827, allocations: 14.48 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.8827, allocations: 0 / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.8828, allocations: 15.88 kB / 0.9579 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.8828, allocations: 5.406 kB / 0.9579 GB, free: 4.691 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 (intGreEquThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.8829, allocations: 120.4 kB / 0.958 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.8829, allocations: 1.344 kB / 0.958 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.883, allocations: 13.17 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.883, allocations: 0 / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.883, allocations: 1.344 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.883, allocations: 0 / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.8831, allocations: 179.7 kB / 0.9582 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8831, allocations: 0 / 0.9582 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.8832, allocations: 14.89 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.8832, allocations: 0 / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.8833, allocations: 1.406 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.8833, allocations: 3.953 kB / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8833, allocations: 0 / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.8835, allocations: 201.6 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.8836, allocations: 83.52 kB / 0.9585 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.8836, allocations: 0 / 0.9585 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.8837, allocations: 11.08 kB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/0.8838, allocations: 15.81 kB / 0.9585 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.8838, allocations: 5.281 kB / 0.9585 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.8838, allocations: 85.36 kB / 0.9586 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8838, allocations: 0 / 0.9586 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002393/0.8841, allocations: 10.47 kB / 0.9586 GB, free: 3.957 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 (intGreEquThr.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 (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.0001315/0.8842, allocations: 105.3 kB / 0.9587 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.8845, allocations: 68.91 kB / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8845, allocations: 0 / 0.9587 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.8846, allocations: 42.84 kB / 0.9588 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.8849, allocations: 5.078 kB / 0.9588 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.8853, allocations: 141.7 kB / 0.9589 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.8854, allocations: 0.6801 MB / 0.9596 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.942e-05/0.8855, allocations: 8.109 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.8855, allocations: 14.94 kB / 0.9596 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8855, allocations: 0 / 0.9596 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.003135/0.8887, allocations: 0.7484 MB / 0.9603 GB, free: 2.57 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches