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.001897/0.001897, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.002303/0.002303, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.553/1.553, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.372/3.372, allocations: 0.4899 GB / 0.7916 GB, free: 33.56 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.002175/0.002175, allocations: 69.72 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4172, allocations: 176.1 MB / 1.321 GB, free: 2.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002079/0.4193, allocations: 0.7122 MB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4205, allocations: 0.8631 MB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.4206, allocations: 4 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.4206, allocations: 7.922 kB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.4207, allocations: 7.938 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.4208, allocations: 23.91 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.4209, allocations: 43.91 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.421, allocations: 11.94 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.4211, allocations: 23.92 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.4212, allocations: 23.89 kB / 1.323 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.4212, allocations: 7.938 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.4212, allocations: 4 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.4212, allocations: 15.98 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.4213, allocations: 15.88 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.4214, allocations: 51.78 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4214, allocations: 4 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4214, allocations: 0 / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4214, allocations: 0 / 1.323 GB, free: 1.105 MB / 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.0006056/0.422, allocations: 355.3 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4221, allocations: 15.98 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.4221, allocations: 0.9375 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.4223, allocations: 180.2 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4223, allocations: 384 / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.4223, allocations: 16.3 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.4225, allocations: 65.59 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4225, allocations: 0 / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4226, allocations: 4 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4226, allocations: 0 / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.4228, allocations: 51.95 kB / 1.324 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.4233, allocations: 292.7 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.4235, allocations: 58.55 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.4237, allocations: 32.91 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4237, allocations: 4 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.4237, allocations: 30.56 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.4237, allocations: 4 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004657/0.4242, allocations: 117.5 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4242, allocations: 51.41 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.4243, allocations: 105.8 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4243, allocations: 25.7 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.4244, allocations: 88.14 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.4244, allocations: 11.89 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.4245, allocations: 21.72 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4246, allocations: 322.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.4247, allocations: 19.98 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4249, allocations: 27.97 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.4251, allocations: 48.81 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4251, allocations: 4 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00026/0.4253, allocations: 81.59 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4253, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.4253, allocations: 4.312 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4254, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.4255, allocations: 11.98 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4255, allocations: 7.922 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.4256, allocations: 15.89 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.4256, allocations: 7.984 kB / 1.325 GB, free: 14.84 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 0.0001113/0.4257, allocations: 119.5 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.4257, allocations: 3.938 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.4258, allocations: 11.91 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4258, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4258, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4258, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.426, allocations: 177.6 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.426, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.4261, allocations: 19.98 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4261, allocations: 3.938 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4261, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4261, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4261, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.4264, allocations: 183.4 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.4265, allocations: 85.11 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4265, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4266, allocations: 7.984 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.4267, allocations: 11.98 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.4267, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.4267, allocations: 91.27 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 0 / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002432/0.427, allocations: 11.94 kB / 1.326 GB, free: 14.02 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.0001434/0.4271, allocations: 103.6 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.4274, allocations: 63.88 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4274, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.4275, allocations: 28.06 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4279, allocations: 11.42 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.4282, allocations: 133.5 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.4286, allocations: 0.6885 MB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.4286, allocations: 7.938 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.4287, allocations: 11.44 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4287, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of Templates: time 0.003557/0.4322, allocations: 0.8831 MB / 1.328 GB, free: 12.04 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.50081213703379]