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.001874/0.001874, allocations: 110 kB / 18.93 MB, free: 2.945 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.003431/0.003431, allocations: 192.1 kB / 22.23 MB, free: 5.16 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.586/1.586, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.802/2.802, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002043/0.002043, allocations: 59.89 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 160.8 MB / 1.218 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002325/1.135, allocations: 0.7018 MB / 1.219 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001391/1.136, allocations: 0.8465 MB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/1.136, allocations: 3.938 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/1.136, allocations: 4.875 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.436e-05/1.136, allocations: 9.047 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/1.137, allocations: 20.28 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/1.137, allocations: 50.28 kB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/1.137, allocations: 8.375 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/1.137, allocations: 18.67 kB / 1.22 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/1.137, allocations: 30.88 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/1.137, allocations: 4.125 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/1.137, allocations: 4.969 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/1.137, allocations: 17.08 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/1.137, allocations: 19.67 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/1.137, allocations: 47.97 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.137, allocations: 0 / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.505e-06/1.137, allocations: 0 / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.137, allocations: 0 / 1.22 GB, free: 2.395 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.0006529/1.138, allocations: 363.3 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.138, allocations: 9.438 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/1.138, allocations: 7.188 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/1.138, allocations: 171.1 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.138, allocations: 1.562 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/1.138, allocations: 10.98 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/1.139, allocations: 72.41 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.139, allocations: 0 / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/1.139, allocations: 4 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.139, allocations: 1.25 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/1.139, allocations: 54.3 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/1.139, allocations: 295.5 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/1.14, allocations: 62.64 kB / 1.221 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/1.14, allocations: 30.66 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/1.14, allocations: 4 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.14, allocations: 31.91 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/1.14, allocations: 0 / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004298/1.14, allocations: 105.6 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/1.14, allocations: 55.34 kB / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/1.14, allocations: 111.1 kB / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/1.14, allocations: 30.77 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/1.14, allocations: 93.17 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/1.14, allocations: 10.08 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/1.14, allocations: 17.91 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.141, allocations: 323.9 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/1.141, allocations: 20.61 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/1.141, allocations: 28.62 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/1.141, allocations: 54.56 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.141, allocations: 0 / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002331/1.141, allocations: 88.59 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.141, allocations: 9.188 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.141, allocations: 0 / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.141, allocations: 1.219 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/1.141, allocations: 11.83 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.141, allocations: 4 kB / 1.222 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/1.141, allocations: 10.02 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/1.141, allocations: 1.188 kB / 1.222 GB, free: 440 kB / 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.0001126/1.142, allocations: 120.2 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/1.142, allocations: 1.25 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/1.142, allocations: 5.734 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.142, allocations: 1.25 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.142, allocations: 0 / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.142, allocations: 7.984 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/1.142, allocations: 183.8 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.142, allocations: 0 / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/1.142, allocations: 12.45 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.142, allocations: 0 / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/1.142, allocations: 1.062 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.142, allocations: 0 / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.142, allocations: 4.984 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/1.142, allocations: 187.8 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/1.142, allocations: 82.22 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/1.142, allocations: 5.031 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/1.143, allocations: 8.203 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/1.143, allocations: 12.08 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/1.143, allocations: 0.9375 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.569e-05/1.143, allocations: 85.97 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.143, allocations: 0 / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002321/1.143, allocations: 17.64 kB / 1.223 GB, free: 15.69 MB / 0.9356 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.0001336/1.143, allocations: 103.8 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000252/1.143, allocations: 57.17 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.143, allocations: 1.188 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/1.143, allocations: 29.53 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/1.144, allocations: 10.5 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/1.144, allocations: 138.7 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/1.145, allocations: 0.681 MB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.48e-05/1.145, allocations: 7.031 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/1.145, allocations: 19.7 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/1.145, allocations: 0 / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.004269/1.149, allocations: 0.9146 MB / 1.225 GB, free: 14.23 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.789177425205708]