Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001479/0.001479, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002032/0.002032, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.8 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [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.002122/0.002122, allocations: 68.34 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3087, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002259/0.3109, allocations: 0.714 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.312, allocations: 0.8395 MB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.312, allocations: 0 / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.3121, allocations: 3.938 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.3121, allocations: 11.91 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.3122, allocations: 15.98 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.3123, allocations: 39.86 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3125, allocations: 11.98 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.3125, allocations: 19.88 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.417e-05/0.3126, allocations: 23.91 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3126, allocations: 4 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.3126, allocations: 8 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.3126, allocations: 4 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.3127, allocations: 23.86 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.739e-05/0.3128, allocations: 43.8 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3128, allocations: 0 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3128, allocations: 0 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3128, allocations: 0 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005384/0.3133, allocations: 286.2 kB / 1.287 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3134, allocations: 12.03 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3134, allocations: 4.938 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3135, allocations: 114.5 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3135, allocations: 384 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.3135, allocations: 384 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.3138, allocations: 74.16 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3138, allocations: 192 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3138, allocations: 3.938 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3138, allocations: 3.938 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.3141, allocations: 67.92 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3145, allocations: 240 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.3147, allocations: 58.42 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3148, allocations: 36.91 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.3149, allocations: 8 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3149, allocations: 30.56 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3149, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005541/0.3154, allocations: 133.5 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3155, allocations: 55.39 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.3156, allocations: 109.8 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3156, allocations: 25.7 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.3157, allocations: 84.14 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3157, allocations: 15.88 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.3157, allocations: 17.72 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3159, allocations: 318.8 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.316, allocations: 27.97 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3161, allocations: 32.14 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3164, allocations: 72.88 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.3164, allocations: 3.938 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.3167, allocations: 101.6 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3167, allocations: 4 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3167, allocations: 4 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3168, allocations: 4 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3169, allocations: 19.92 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3169, allocations: 0 / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.317, allocations: 15.98 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.317, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.915e-05/0.3171, allocations: 117.8 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.3171, allocations: 3.953 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.3175, allocations: 109.6 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3175, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3175, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3175, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.3176, allocations: 144.7 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3176, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.3177, allocations: 15.97 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3177, allocations: 7.938 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3178, allocations: 4 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3178, allocations: 0 / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3178, allocations: 0 / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.3181, allocations: 191.4 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.3181, allocations: 15.83 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3181, allocations: 7.984 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3182, allocations: 11.92 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.3183, allocations: 4 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3183, allocations: 0 / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.3184, allocations: 91.27 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3184, allocations: 0 / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002171/0.3186, allocations: 4 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0001297/0.3187, allocations: 103.2 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.319, allocations: 67.86 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.319, allocations: 0 / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3192, allocations: 35.95 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3195, allocations: 11.94 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.3198, allocations: 147.3 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3201, allocations: 0.6807 MB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.3202, allocations: 7.438 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3202, allocations: 0 / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of Templates: time 0.002325/0.3225, allocations: 0.7633 MB / 1.291 GB, free: 4.625 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: 10.971422097994946]