Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001354/0.001354, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001486/0.001486, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.745/2.745, allocations: 476 MB / 0.7707 GB, free: 4.73 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [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.002143/0.002143, allocations: 66.92 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3046, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00195/0.3065, allocations: 0.5512 MB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.121e-05/0.3066, allocations: 4 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.3066, allocations: 0 / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.3066, allocations: 0 / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.405e-05/0.3067, allocations: 7.938 kB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.873e-05/0.3067, allocations: 4 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.3068, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.3068, allocations: 4 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.371e-05/0.3068, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.3068, allocations: 3.938 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3069, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-06/0.3069, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.3069, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.3069, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.02e-05/0.307, allocations: 7.984 kB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.307, allocations: 4 kB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.274e-06/0.307, allocations: 0 / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.307, allocations: 0 / 1.284 GB, free: 11.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003432/0.3073, allocations: 238.4 kB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3074, allocations: 8.031 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.3074, allocations: 0.9375 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3075, allocations: 110.5 kB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3075, allocations: 384 / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.3075, allocations: 4.312 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3076, allocations: 34.2 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3076, allocations: 4.188 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3077, allocations: 3.938 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3077, allocations: 0 / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.3077, allocations: 7.938 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3081, allocations: 323.2 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.3082, allocations: 177.2 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.3082, allocations: 92.06 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.3083, allocations: 79.22 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/0.3083, allocations: 105.8 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3083, allocations: 4 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.807e-05/0.3084, allocations: 25.7 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3085, allocations: 130.7 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.3086, allocations: 93.86 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3086, allocations: 29.7 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.3086, allocations: 88.08 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.3086, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.3087, allocations: 13.7 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3088, allocations: 310.8 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-06/0.3088, allocations: 7.938 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-06/0.3088, allocations: 128 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.3089, allocations: 75.28 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-05/0.3089, allocations: 79.41 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.357e-05/0.309, allocations: 37.64 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.309, allocations: 79.28 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/0.309, allocations: 79.22 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.485e-05/0.3091, allocations: 158.6 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.3092, allocations: 75.28 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.066e-05/0.3092, allocations: 158.5 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.3093, allocations: 75.28 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.3093, allocations: 85.02 kB / 1.287 GB, free: 8.406 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 (0): * Single equations (assignments): 0 * 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.0001348/0.3095, allocations: 256.4 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.3096, allocations: 116.9 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.3096, allocations: 104 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.56e-05/0.3097, allocations: 184.2 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-05/0.3098, allocations: 180.3 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-05/0.3099, allocations: 180.2 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.3101, allocations: 356.9 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.3101, allocations: 101 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3103, allocations: 104.9 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-05/0.3103, allocations: 184.1 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.37e-05/0.3104, allocations: 192.1 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.473e-05/0.3105, allocations: 180.3 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-05/0.3106, allocations: 184.2 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.3107, allocations: 304.1 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.3108, allocations: 108.9 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.3109, allocations: 188.3 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.3109, allocations: 105 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.311, allocations: 180.2 kB / 1.29 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.3111, allocations: 105 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.3111, allocations: 75.28 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3111, allocations: 0 / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002555/0.3114, allocations: 96 / 1.29 GB, free: 4.906 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 (0): * Single equations (assignments): 0 * 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.0001436/0.3115, allocations: 178.5 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.842e-05/0.3115, allocations: 3.938 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3115, allocations: 0 / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3115, allocations: 0 / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.312, allocations: 461.2 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.3123, allocations: 178 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.3123, allocations: 51.36 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.3123, allocations: 7.438 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3123, allocations: 4 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of Templates: time 0.001711/0.314, allocations: 319.9 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.036362587939948]