Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001372/0.001372, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001779/0.001779, allocations: 192 kB / 22.17 MB, free: 5.656 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.473/1.473, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 443.5 MB / 0.732 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.061 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9695/0.9715, allocations: 160.7 MB / 1.218 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002215/0.9737, allocations: 0.7178 MB / 1.219 GB, free: 3.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.9748, allocations: 0.8413 MB / 1.22 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.9749, allocations: 1.344 kB / 1.22 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.9749, allocations: 7.875 kB / 1.22 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.975, allocations: 5.281 kB / 1.22 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.9752, allocations: 24.02 kB / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.756e-05/0.9753, allocations: 42.86 kB / 1.22 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.9754, allocations: 11.95 kB / 1.22 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.9755, allocations: 18.05 kB / 1.22 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.9755, allocations: 31.72 kB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.9756, allocations: 4.062 kB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.9756, allocations: 7.688 kB / 1.22 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.9756, allocations: 9.297 kB / 1.22 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.9756, allocations: 23.52 kB / 1.22 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.9757, allocations: 47.5 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9757, allocations: 1.281 kB / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9758, allocations: 0 / 1.22 GB, free: 2.734 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9758, allocations: 0 / 1.22 GB, free: 2.734 MB / 0.92 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.000621/0.9764, allocations: 363.9 kB / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.9764, allocations: 8.656 kB / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.9765, allocations: 7.703 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.9766, allocations: 170.9 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.9767, allocations: 1.781 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.9767, allocations: 2.5 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.9769, allocations: 72.56 kB / 1.221 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.9769, allocations: 0 / 1.221 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.9769, allocations: 0 / 1.221 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.9769, allocations: 5.438 kB / 1.221 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.9771, allocations: 55.06 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.9776, allocations: 290.9 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.9779, allocations: 63.17 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.978, allocations: 29.56 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.978, allocations: 5.203 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.978, allocations: 34.5 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.978, allocations: 1.094 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004443/0.9785, allocations: 103.9 kB / 1.221 GB, free: 1.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.9785, allocations: 64.42 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.9786, allocations: 107.8 kB / 1.221 GB, free: 1.383 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.9786, allocations: 25.7 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.9787, allocations: 90.28 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.9787, allocations: 12.86 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.9788, allocations: 18.02 kB / 1.221 GB, free: 1.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9789, allocations: 320.8 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.979, allocations: 23.41 kB / 1.222 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.9791, allocations: 29.42 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.9793, allocations: 54.19 kB / 1.222 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9793, allocations: 4 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002535/0.9796, allocations: 89.16 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.9796, allocations: 5.562 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.9796, allocations: 4 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9796, allocations: 0 / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.9798, allocations: 12.17 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.9798, allocations: 320 / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.9798, allocations: 9.547 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.9799, allocations: 1.125 kB / 1.222 GB, free: 0.7734 MB / 0.92 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,intGreThr.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.0001196/0.98, allocations: 119.9 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.98, allocations: 2.375 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.98, allocations: 13 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.98, allocations: 1.406 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.98, allocations: 0 / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.98, allocations: 3.984 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.9803, allocations: 171.8 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9803, allocations: 0 / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.9804, allocations: 12.42 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9804, allocations: 0 / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.9804, allocations: 5.359 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9804, allocations: 0 / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9804, allocations: 0 / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.9807, allocations: 191.8 kB / 1.222 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.9808, allocations: 83.23 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.9808, allocations: 0 / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.9809, allocations: 10.39 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.981, allocations: 11.67 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.981, allocations: 1.188 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.981, allocations: 93.08 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.981, allocations: 0 / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002286/0.9813, allocations: 14.14 kB / 1.223 GB, free: 40 kB / 0.92 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 (intGreThr.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.0001831/0.9814, allocations: 110.4 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.9817, allocations: 49.98 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9817, allocations: 0 / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.9819, allocations: 37.66 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.9822, allocations: 6.562 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.9826, allocations: 150.5 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.983, allocations: 0.684 MB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.983, allocations: 8.188 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.9831, allocations: 22.7 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.9831, allocations: 0 / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of Templates: time 0.003791/0.9869, allocations: 0.8967 MB / 1.225 GB, free: 14.58 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.770952305290848]