Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 93.47 kB / 19.44 MB, free: 328 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 173.2 kB / 22.76 MB, free: 1.652 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.373/3.373, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.784e-05/4.103e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.003128/0.003169, allocations: 0.7218 MB / 0.8782 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.004971, allocations: 0.8605 MB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.005031, allocations: 4 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.00507, allocations: 3.938 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.00519, allocations: 6.297 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.005414, allocations: 19.92 kB / 0.879 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.005548, allocations: 52.91 kB / 0.8791 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.00568, allocations: 11.98 kB / 0.8791 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.005812, allocations: 29 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.0059, allocations: 19.92 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.005931, allocations: 4 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.005949, allocations: 5.125 kB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.00598, allocations: 11.97 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.006027, allocations: 15.94 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.006187, allocations: 49.03 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.006195, allocations: 3.984 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/0.006196, allocations: 0 / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.006202, allocations: 1.188 kB / 0.8792 GB, free: 4.828 MB / 0.8386 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.0007484/0.00695, allocations: 384.1 kB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.007004, allocations: 12.03 kB / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.007066, allocations: 8.312 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.00724, allocations: 112.6 kB / 0.8797 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.007271, allocations: 4.312 kB / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.007294, allocations: 8.375 kB / 0.8797 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.007512, allocations: 58.23 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.007528, allocations: 7.922 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.00754, allocations: 0 / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.007545, allocations: 0 / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.007748, allocations: 36.58 kB / 0.8798 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.008394, allocations: 293.2 kB / 0.8801 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.008643, allocations: 62.98 kB / 0.8802 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.008753, allocations: 27.75 kB / 0.8802 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.008778, allocations: 5.312 kB / 0.8802 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.008825, allocations: 33.39 kB / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.008826, allocations: 0 / 0.8802 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004867/0.009313, allocations: 99.05 kB / 0.8803 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005976/0.00991, allocations: 51.41 kB / 0.8804 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.0101, allocations: 173.9 kB / 0.8805 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.01015, allocations: 25.7 kB / 0.8806 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.01027, allocations: 140.3 kB / 0.8807 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.0103, allocations: 11.89 kB / 0.8807 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.01038, allocations: 23.38 kB / 0.8807 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003501/0.01073, allocations: 0.4923 MB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/0.01083, allocations: 16 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.01091, allocations: 19.98 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.0111, allocations: 43.66 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.01111, allocations: 7.938 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002682/0.01138, allocations: 73.61 kB / 0.8814 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.0114, allocations: 4 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.0114, allocations: 0 / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.01142, allocations: 336 / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.01155, allocations: 15.94 kB / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.01157, allocations: 3.984 kB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.01165, allocations: 11.95 kB / 0.8814 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.01166, allocations: 0 / 0.8814 GB, free: 2.402 MB / 0.8386 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,intGreEquThr.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 0.0001657/0.01182, allocations: 164.5 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.01187, allocations: 4 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.848e-05/0.0119, allocations: 8 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.01191, allocations: 3.984 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01192, allocations: 0 / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01192, allocations: 0 / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.0122, allocations: 136.6 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01221, allocations: 3.938 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-05/0.0123, allocations: 11.92 kB / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.01231, allocations: 4 kB / 0.8817 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01232, allocations: 0 / 0.8817 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01232, allocations: 0 / 0.8817 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01232, allocations: 0 / 0.8817 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.01272, allocations: 223.9 kB / 0.8819 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.01274, allocations: 3.938 kB / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.01276, allocations: 0 / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.01291, allocations: 15.98 kB / 0.882 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.013, allocations: 11.98 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.01301, allocations: 0 / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001255/0.01313, allocations: 131.2 kB / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01313, allocations: 0 / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004051/0.01354, allocations: 12 kB / 0.8821 GB, free: 1.617 MB / 0.8386 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 (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.0001919/0.01373, allocations: 99.12 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003332/0.01406, allocations: 51.66 kB / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01407, allocations: 0 / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.01423, allocations: 43.67 kB / 0.8823 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.01467, allocations: 13.8 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.01521, allocations: 126.4 kB / 0.8824 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.01532, allocations: 75.14 kB / 0.8825 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.699e-05/0.01538, allocations: 7.984 kB / 0.8825 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.01546, allocations: 20.44 kB / 0.8825 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of SimCode: time 9.41e-07/0.01546, allocations: 4 kB / 0.8825 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of Templates: time 0.005819/0.02128, allocations: 0.9695 MB / 0.8835 GB, free: 164 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.477909983950667]