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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001701, allocations: 110.9 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.001761, allocations: 189.2 kB / 20.03 MB, free: 3.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.159/3.159, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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 0.002004/0.002004, allocations: 68.08 kB / 1.103 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.941/0.943, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001854/0.9449, allocations: 0.7126 MB / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.946, allocations: 0.8324 MB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.946, allocations: 0.9062 kB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.9461, allocations: 4.438 kB / 1.264 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.9462, allocations: 7.969 kB / 1.264 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.9463, allocations: 30.17 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.9464, allocations: 44.92 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.9465, allocations: 13.45 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.9466, allocations: 21.88 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.9467, allocations: 28.89 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.9467, allocations: 4.969 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.9467, allocations: 4.375 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.337e-05/0.9468, allocations: 11.38 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.9468, allocations: 18.7 kB / 1.264 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.9469, allocations: 49.72 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9469, allocations: 0 / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9469, allocations: 0.9375 kB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.947, allocations: 0 / 1.264 GB, free: 6.801 MB / 0.9981 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.0004887/0.9475, allocations: 361.4 kB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.9475, allocations: 9.812 kB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.9475, allocations: 7.641 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.9477, allocations: 168.6 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.9477, allocations: 2 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.9477, allocations: 2.781 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.9479, allocations: 76.17 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9479, allocations: 0 / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.9479, allocations: 4.688 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.948, allocations: 1.625 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.9482, allocations: 48.19 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.9486, allocations: 295.2 kB / 1.265 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.9488, allocations: 66.06 kB / 1.265 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.9489, allocations: 33.27 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.949, allocations: 1.125 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.949, allocations: 35.12 kB / 1.265 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.949, allocations: 0.9062 kB / 1.265 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000443/0.9494, allocations: 112.9 kB / 1.266 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.9495, allocations: 53.59 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.9496, allocations: 110 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.9496, allocations: 30.45 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.9496, allocations: 83.7 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.9496, allocations: 14.11 kB / 1.266 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.9497, allocations: 15.61 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.9497, allocations: 321.2 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.9499, allocations: 31.52 kB / 1.266 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.95, allocations: 23.58 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.9502, allocations: 49.06 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9502, allocations: 0.6562 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002493/0.9504, allocations: 90.8 kB / 1.266 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.9505, allocations: 10.25 kB / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.9505, allocations: 0 / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.9505, allocations: 0.6875 kB / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.9506, allocations: 11.92 kB / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.9506, allocations: 0.5938 kB / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.489e-05/0.9507, allocations: 8.359 kB / 1.266 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.9507, allocations: 0.7188 kB / 1.266 GB, free: 5 MB / 0.9981 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 5.794e-05/0.9508, allocations: 117 kB / 1.266 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.9508, allocations: 10.86 kB / 1.266 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.9508, allocations: 10.14 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.9509, allocations: 0.8906 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9509, allocations: 1.062 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9509, allocations: 0.7969 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.951, allocations: 177.9 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.951, allocations: 0.75 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.9511, allocations: 15.53 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9511, allocations: 0.75 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.9512, allocations: 1.625 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9512, allocations: 4.797 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9512, allocations: 0.875 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.9514, allocations: 178.6 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.9515, allocations: 83.95 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.9515, allocations: 0.7812 kB / 1.267 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.9516, allocations: 11.28 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.9517, allocations: 15.95 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.9517, allocations: 1.766 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.9517, allocations: 88.17 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9517, allocations: 0 / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002191/0.9519, allocations: 14.5 kB / 1.267 GB, free: 4.305 MB / 0.9981 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.0001088/0.9521, allocations: 106.3 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.9523, allocations: 56.41 kB / 1.267 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9524, allocations: 3.938 kB / 1.267 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.9525, allocations: 32.83 kB / 1.267 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.9528, allocations: 9.625 kB / 1.267 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.9531, allocations: 163 kB / 1.267 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.9533, allocations: 0.6812 MB / 1.268 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.9533, allocations: 20.81 kB / 1.268 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.9533, allocations: 0 / 1.268 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of Templates: time 0.002728/0.9561, allocations: 0.7993 MB / 1.269 GB, free: 3.281 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.426172565901652]