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.00145/0.00145, allocations: 88.72 kB / 19.44 MB, free: 356 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.001671/0.001671, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.277/3.277, allocations: 429.6 MB / 0.673 GB, free: 3.871 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 2.094e-06/2.094e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.23e-05/3.44e-05, allocations: 9.484 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001957/0.001991, allocations: 0.7139 MB / 0.8783 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.003407, allocations: 0.8524 MB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.003446, allocations: 0 / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.003477, allocations: 4.812 kB / 0.8791 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.901e-05/0.003556, allocations: 3.938 kB / 0.8791 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.003711, allocations: 31.84 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.777e-05/0.003809, allocations: 43.91 kB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.003902, allocations: 9.797 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.932e-05/0.004001, allocations: 31.92 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.004064, allocations: 19.95 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.004085, allocations: 4 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.0041, allocations: 5.031 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.004119, allocations: 11.94 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.004152, allocations: 11.98 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.004284, allocations: 56.91 kB / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004286, allocations: 0 / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004287, allocations: 0 / 0.8794 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.004291, allocations: 1.031 kB / 0.8794 GB, free: 4.68 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.0005652/0.004856, allocations: 282.2 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.004895, allocations: 13.16 kB / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.004946, allocations: 4.938 kB / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.005084, allocations: 109.8 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.005102, allocations: 5.344 kB / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.005114, allocations: 384 / 0.8798 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.005357, allocations: 71.86 kB / 0.8798 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.005368, allocations: 3.938 kB / 0.8798 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.005381, allocations: 4 kB / 0.8798 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.005386, allocations: 0 / 0.8798 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.005617, allocations: 54.27 kB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.006066, allocations: 224.5 kB / 0.8801 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.006309, allocations: 66.47 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.006428, allocations: 35 kB / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.006447, allocations: 0 / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.006483, allocations: 38.48 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.006484, allocations: 1.062 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000473/0.006957, allocations: 111.2 kB / 0.8803 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.007004, allocations: 55.41 kB / 0.8804 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.007132, allocations: 105.8 kB / 0.8805 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.007157, allocations: 29.7 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.00723, allocations: 94.48 kB / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.007252, allocations: 11.91 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.007297, allocations: 17.7 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.007477, allocations: 318.8 kB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.007595, allocations: 23.97 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.007692, allocations: 25.98 kB / 0.881 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.0079, allocations: 48.81 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.007904, allocations: 3.938 kB / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002886/0.008193, allocations: 86.36 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.008209, allocations: 9.188 kB / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.008213, allocations: 0 / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.008231, allocations: 0 / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.008356, allocations: 19.98 kB / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.00836, allocations: 0 / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.008442, allocations: 15.88 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.00845, allocations: 0 / 0.8812 GB, free: 2.672 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.0001063/0.008556, allocations: 117.8 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.008588, allocations: 4 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.008618, allocations: 11.98 kB / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008619, allocations: 0 / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.008623, allocations: 0 / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.008625, allocations: 8 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.008795, allocations: 113.3 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.008798, allocations: 3.938 kB / 0.8814 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.983e-05/0.008898, allocations: 11.98 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.0089, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.008907, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008909, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008909, allocations: 0 / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.009269, allocations: 187.4 kB / 0.8816 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.009283, allocations: 11.94 kB / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.009298, allocations: 384 / 0.8816 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.009411, allocations: 7.984 kB / 0.8816 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.009476, allocations: 11.98 kB / 0.8816 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.009481, allocations: 0 / 0.8816 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.507e-05/0.009546, allocations: 91.27 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.009546, allocations: 3.938 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002366/0.009783, allocations: 7.938 kB / 0.8817 GB, free: 2.035 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.0001397/0.009923, allocations: 99.23 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.0102, allocations: 63.94 kB / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.0102, allocations: 0 / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.01033, allocations: 31.91 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.01064, allocations: 7.938 kB / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.01106, allocations: 128.7 kB / 0.882 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.973e-05/0.01114, allocations: 71.2 kB / 0.8821 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.375e-05/0.01118, allocations: 8 kB / 0.8821 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.01123, allocations: 12.5 kB / 0.8821 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.01123, allocations: 0 / 0.8821 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of Templates: time 0.00405/0.01528, allocations: 0.9923 MB / 0.8831 GB, free: 0.5898 MB / 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 800] 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.30061058094725]