Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001623/0.001623, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.476/3.476, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 74.66 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4172, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002236/0.4195, allocations: 0.6969 MB / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4207, allocations: 0.8588 MB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.4208, allocations: 0 / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.4208, allocations: 3.938 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.4209, allocations: 7.938 kB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.421, allocations: 19.97 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.4211, allocations: 47.86 kB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4212, allocations: 15.97 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.4213, allocations: 23.86 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.4214, allocations: 23.92 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.4214, allocations: 4 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.4214, allocations: 4 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.4215, allocations: 11.97 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.4215, allocations: 11.94 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.4216, allocations: 51.73 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4216, allocations: 4 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4216, allocations: 0 / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4216, allocations: 0 / 1.327 GB, free: 76 kB / 1.014 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.000572/0.4222, allocations: 278.8 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4222, allocations: 8.031 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.4223, allocations: 8.891 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.4224, allocations: 126.4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4224, allocations: 384 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.4225, allocations: 7.75 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.4227, allocations: 69.59 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4227, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.4227, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4227, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002281/0.4229, allocations: 47.95 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.4234, allocations: 232.5 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.4236, allocations: 62.48 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.4237, allocations: 32.91 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.4238, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4238, allocations: 34.56 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4238, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004417/0.4242, allocations: 113.5 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.4243, allocations: 55.34 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4244, allocations: 105.8 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4244, allocations: 25.7 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.4245, allocations: 96.08 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.4245, allocations: 19.83 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.4245, allocations: 13.72 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4247, allocations: 326.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4248, allocations: 19.98 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.4249, allocations: 24.16 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.4251, allocations: 52.89 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4251, allocations: 4 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002377/0.4253, allocations: 85.59 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4254, allocations: 8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4254, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4254, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4255, allocations: 15.97 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4255, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.4256, allocations: 4 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4256, allocations: 11.92 kB / 1.329 GB, free: 14.05 MB / 1.029 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 9.369e-05/0.4257, allocations: 117 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.4257, allocations: 7.953 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.4257, allocations: 8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4258, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4258, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4258, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.4259, allocations: 121.3 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4259, allocations: 0 / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.426, allocations: 11.98 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.426, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.426, allocations: 3.984 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.426, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.426, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.4263, allocations: 187.4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.4264, allocations: 7.953 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4264, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4265, allocations: 11.98 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.4265, allocations: 7.984 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4266, allocations: 11.94 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.4266, allocations: 87.58 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4266, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002212/0.4268, allocations: 8 kB / 1.33 GB, free: 13.4 MB / 1.029 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.0001305/0.427, allocations: 103.1 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.4272, allocations: 51.89 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4272, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4273, allocations: 39.97 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.4276, allocations: 9.797 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.428, allocations: 132 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.619e-05/0.4281, allocations: 63.34 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.238e-05/0.4281, allocations: 8 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.4282, allocations: 15.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4282, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Templates: time 0.003707/0.4319, allocations: 0.9527 MB / 1.331 GB, free: 11.99 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.906161271035671]