Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001577/0.001577, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001745/0.001745, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.977/2.977, allocations: 0.49 GB / 0.7923 GB, free: 1.367 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.00211/0.00211, allocations: 77.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.978/0.9801, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001778/0.9819, allocations: 0.8246 MB / 1.323 GB, free: 24.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000846/0.9827, allocations: 0.9248 MB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.9828, allocations: 2.594 kB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.9829, allocations: 11.81 kB / 1.324 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.9829, allocations: 9.766 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.9831, allocations: 40.89 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.9832, allocations: 72.55 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.9833, allocations: 16.78 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.9834, allocations: 45.27 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.9835, allocations: 26.27 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.9835, allocations: 9.594 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.931e-05/0.9835, allocations: 12.69 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.9836, allocations: 11.31 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.9836, allocations: 32.94 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.9837, allocations: 86.48 kB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.9837, allocations: 0 / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9837, allocations: 0 / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.9837, allocations: 0 / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004506/0.9842, allocations: 396.2 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.9842, allocations: 14.42 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.9844, allocations: 22.53 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.9846, allocations: 199.4 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.9846, allocations: 384 / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.9846, allocations: 3.094 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.9847, allocations: 64.73 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.9847, allocations: 4.188 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.9847, allocations: 6.5 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.9847, allocations: 0 / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.9848, allocations: 33.53 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.9852, allocations: 316.4 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.9854, allocations: 51.41 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.9854, allocations: 17.59 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.9854, allocations: 6.531 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.9854, allocations: 30.56 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9855, allocations: 96 / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000227/0.9857, allocations: 76.23 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.9857, allocations: 62.31 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.9858, allocations: 135.8 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.9858, allocations: 25.7 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.9858, allocations: 100.7 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.9858, allocations: 11.12 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.9859, allocations: 16.59 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.9859, allocations: 325.1 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.986, allocations: 15.2 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.986, allocations: 20.27 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.546e-05/0.9861, allocations: 32.75 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9861, allocations: 0 / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001172/0.9862, allocations: 65.77 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.9862, allocations: 5.406 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.9862, allocations: 0 / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.9862, allocations: 0 / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.9863, allocations: 12.16 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.9863, allocations: 4 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.9864, allocations: 9.266 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.9864, allocations: 4 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.311e-05/0.9864, allocations: 119.2 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.9865, allocations: 6.766 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.9865, allocations: 10.31 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9865, allocations: 3.938 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.9865, allocations: 0 / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.9865, allocations: 4 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.9866, allocations: 189.2 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9866, allocations: 0 / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.9867, allocations: 2.531 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9867, allocations: 0 / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.9867, allocations: 6.625 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9867, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9867, allocations: 3.328 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.9868, allocations: 166.7 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.9868, allocations: 83.66 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.9868, allocations: 0 / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.9869, allocations: 8.531 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.987, allocations: 8.594 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.987, allocations: 3.422 kB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.987, allocations: 107.8 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.987, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002247/0.9873, allocations: 19.06 kB / 1.327 GB, free: 21.02 MB / 1.061 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.96e-05/0.9874, allocations: 99.44 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.9875, allocations: 31.89 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.9875, allocations: 3.938 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.9875, allocations: 19.05 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.9878, allocations: 8.516 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.9881, allocations: 212.8 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.9882, allocations: 0.6956 MB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.9882, allocations: 10.41 kB / 1.328 GB, free: 20.03 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9882, allocations: 0 / 1.328 GB, free: 20.03 MB / 1.061 GB Notification: Performance of Templates: time 0.002376/0.9906, allocations: 0.9801 MB / 1.329 GB, free: 19.95 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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: 11.459508361003827]