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.002415/0.002415, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.002873/0.002873, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.663/1.663, allocations: 230.5 MB / 252.8 MB, free: 9.148 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.31/3.31, allocations: 0.4899 GB / 0.7915 GB, free: 33.17 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.002107/0.002107, allocations: 67.89 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4036, allocations: 176.1 MB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002392/0.406, allocations: 0.8338 MB / 1.322 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.4075, allocations: 0.9133 MB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.4077, allocations: 7.938 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.4078, allocations: 7.875 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.4079, allocations: 23.86 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.4081, allocations: 27.91 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.4083, allocations: 75.77 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.4085, allocations: 23.98 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.4086, allocations: 35.84 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.4087, allocations: 27.86 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.4087, allocations: 4 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.4088, allocations: 11.94 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.4088, allocations: 11.98 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.4089, allocations: 35.8 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.4091, allocations: 83.56 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4091, allocations: 0 / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4091, allocations: 0 / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4091, allocations: 4 kB / 1.323 GB, free: 0.6406 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007132/0.4098, allocations: 387.1 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4099, allocations: 11.98 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.41, allocations: 24.83 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.4104, allocations: 210.2 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4104, allocations: 4.375 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.4104, allocations: 4.375 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.4106, allocations: 62.23 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4106, allocations: 192 / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4106, allocations: 3.938 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4106, allocations: 4 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.4108, allocations: 39.86 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.4113, allocations: 324.7 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.4115, allocations: 42.59 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.4116, allocations: 21 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.4116, allocations: 4 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4116, allocations: 30.56 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4116, allocations: 0 / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003137/0.4119, allocations: 81.56 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.412, allocations: 55.39 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4121, allocations: 129.8 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4121, allocations: 29.7 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.4122, allocations: 100.1 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.4122, allocations: 3.953 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.4123, allocations: 21.7 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4124, allocations: 322.8 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.4125, allocations: 12 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.4126, allocations: 23.92 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.965e-05/0.4126, allocations: 29.11 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4126, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001581/0.4128, allocations: 69.56 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4128, allocations: 8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4128, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4128, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.4129, allocations: 8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4129, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.413, allocations: 11.98 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.413, allocations: 0 / 1.325 GB, free: 14.38 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: 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 0.0001231/0.4131, allocations: 121.8 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.4132, allocations: 7.953 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.4132, allocations: 12.23 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4132, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4132, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4132, allocations: 0 / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.4134, allocations: 189.6 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4134, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.4135, allocations: 4 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4135, allocations: 7.984 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.4135, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4135, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4135, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.4137, allocations: 163.4 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.4138, allocations: 92.94 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.4138, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4139, allocations: 11.98 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.414, allocations: 11.98 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.414, allocations: 4 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.326e-05/0.4141, allocations: 104.9 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4141, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002337/0.4143, allocations: 11.94 kB / 1.326 GB, free: 13.54 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 (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 0.000223/0.4145, allocations: 103.2 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.4147, allocations: 39.92 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4147, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.4148, allocations: 19.92 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.4151, allocations: 9.875 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.4155, allocations: 166.5 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.4159, allocations: 0.6963 MB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.759e-05/0.4159, allocations: 288 / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.416, allocations: 15.42 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.416, allocations: 0 / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of Templates: time 0.004021/0.42, allocations: 0.8577 MB / 1.328 GB, free: 11.59 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins/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: 9.606036338955164]