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.00172/0.00172, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00218/0.00218, allocations: 216.9 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.753/2.753, allocations: 476.7 MB / 0.7714 GB, free: 4.473 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.002059/0.002059, allocations: 68.08 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3163, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001743/0.3181, allocations: 0.5419 MB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.418e-05/0.3181, allocations: 4 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.3182, allocations: 4 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.3182, allocations: 3.938 kB / 1.285 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.904e-05/0.3182, allocations: 3.938 kB / 1.285 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.981e-05/0.3182, allocations: 3.984 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.3183, allocations: 4 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.3184, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.288e-05/0.3184, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.524e-05/0.3184, allocations: 3.984 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3184, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-06/0.3184, allocations: 4 kB / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.3184, allocations: 0 / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.3184, allocations: 7.938 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.921e-05/0.3185, allocations: 4 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3185, allocations: 0 / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3185, allocations: 0 / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3185, allocations: 0 / 1.285 GB, free: 10.71 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.0003034/0.3188, allocations: 238.4 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3189, allocations: 12.03 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.3189, allocations: 0.9375 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.319, allocations: 102.5 kB / 1.286 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.319, allocations: 4.375 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.319, allocations: 384 / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.472e-05/0.3191, allocations: 38.2 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3191, allocations: 192 / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3191, allocations: 11.92 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3191, allocations: 3.984 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.3191, allocations: 0 / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.3195, allocations: 354.6 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.3196, allocations: 173.1 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.3196, allocations: 88.06 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.3197, allocations: 75.28 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.3197, allocations: 105.8 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3197, allocations: 0 / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.73e-05/0.3198, allocations: 33.7 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.3199, allocations: 130.7 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.3199, allocations: 89.86 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.32, allocations: 29.64 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.32, allocations: 84.14 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.32, allocations: 0 / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.32, allocations: 9.719 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3202, allocations: 323 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.3202, allocations: 3.938 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-06/0.3202, allocations: 128 / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.3202, allocations: 83.22 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.191e-05/0.3202, allocations: 79.28 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.815e-05/0.3203, allocations: 29.64 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.3204, allocations: 83.28 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.3204, allocations: 79.22 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.526e-05/0.3205, allocations: 154.6 kB / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.529e-05/0.3205, allocations: 75.28 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.507e-05/0.3206, allocations: 158.5 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.3206, allocations: 83.28 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.3207, allocations: 79.22 kB / 1.288 GB, free: 7.758 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.0001356/0.3208, allocations: 264.3 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.3209, allocations: 106.7 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.3209, allocations: 108.1 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.749e-05/0.321, allocations: 180.2 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-05/0.3211, allocations: 180.3 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/0.3212, allocations: 184.2 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.3214, allocations: 376.2 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/0.3215, allocations: 101 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.3215, allocations: 112.9 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-05/0.3216, allocations: 176.3 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.3217, allocations: 184.2 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-05/0.3217, allocations: 184.2 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-05/0.3218, allocations: 180.3 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.322, allocations: 308.1 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.322, allocations: 104.9 kB / 1.291 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.3221, allocations: 180.3 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.3222, allocations: 117 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.3223, allocations: 184.2 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.3223, allocations: 101 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.3224, allocations: 83.22 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3224, allocations: 0 / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000249/0.3226, allocations: 0 / 1.291 GB, free: 4.223 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.0001619/0.3228, allocations: 178.6 kB / 1.291 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.351e-05/0.3228, allocations: 3.938 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3228, allocations: 0 / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.3228, allocations: 0 / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3232, allocations: 459.6 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.3235, allocations: 178 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.3238, allocations: 0.6729 MB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.3238, allocations: 7.438 kB / 1.293 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3238, allocations: 0 / 1.293 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of Templates: time 0.001638/0.3254, allocations: 327.8 kB / 1.293 GB, free: 2.344 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: 10.898972152004717]