Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001283/0.001283, 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.001451/0.001451, 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.739/2.739, allocations: 476.7 MB / 0.7714 GB, free: 4.289 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.002018/0.002018, allocations: 68.38 kB / 1.119 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 170 MB / 1.285 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001872/0.3281, allocations: 0.5943 MB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.533e-05/0.3282, allocations: 4 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.3282, allocations: 4 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.3282, allocations: 3.938 kB / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.23e-05/0.3282, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.171e-05/0.3283, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.423e-05/0.3283, allocations: 0 / 1.285 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.3284, allocations: 4 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.34e-05/0.3284, allocations: 0 / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.881e-05/0.3284, allocations: 4 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3284, allocations: 0 / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-06/0.3284, allocations: 0 / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.3285, allocations: 3.984 kB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.3285, allocations: 3.938 kB / 1.285 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.3285, allocations: 11.98 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3285, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3285, allocations: 3.938 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3285, allocations: 0 / 1.285 GB, free: 10.73 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.0002928/0.3288, allocations: 230.5 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3289, allocations: 12.03 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.3289, allocations: 4.922 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.329, allocations: 106.5 kB / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.329, allocations: 384 / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.329, allocations: 384 / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.089e-05/0.3291, allocations: 34.2 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3291, allocations: 192 / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.3291, allocations: 3.938 kB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3291, allocations: 4 kB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.479e-05/0.3291, allocations: 4 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.3295, allocations: 358.5 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.745e-05/0.3296, allocations: 173 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.3296, allocations: 80.14 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.3297, allocations: 75.28 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.3297, allocations: 113.9 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3297, allocations: 0 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.533e-05/0.3298, allocations: 29.7 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.3299, allocations: 130.6 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.33, allocations: 97.84 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.33, allocations: 25.7 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.33, allocations: 88.2 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.33, allocations: 0 / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.33, allocations: 9.719 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.3302, allocations: 318.8 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-06/0.3302, allocations: 160 / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-06/0.3302, allocations: 0 / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.679e-05/0.3303, allocations: 75.28 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-05/0.3304, allocations: 75.28 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.521e-05/0.3304, allocations: 49.61 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.3305, allocations: 79.28 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-05/0.3305, allocations: 79.22 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.3307, allocations: 150.6 kB / 1.288 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.112e-05/0.3307, allocations: 83.22 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.332e-05/0.3308, allocations: 150.6 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.3308, allocations: 79.28 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3309, allocations: 85 kB / 1.288 GB, free: 7.785 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.0001567/0.331, allocations: 268.3 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3311, allocations: 101 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.3312, allocations: 108.1 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.583e-05/0.3313, allocations: 184.2 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.181e-05/0.3314, allocations: 188.3 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.158e-05/0.3315, allocations: 184.2 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3317, allocations: 372.2 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/0.3318, allocations: 104.9 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.3318, allocations: 105 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/0.3319, allocations: 184.2 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.332, allocations: 188.2 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-05/0.332, allocations: 180.2 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.249e-05/0.3321, allocations: 180.2 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.3323, allocations: 316.1 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.3323, allocations: 101 kB / 1.291 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.3324, allocations: 180.3 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.3325, allocations: 108.9 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.3326, allocations: 184.2 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.3326, allocations: 108.9 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.3326, allocations: 79.28 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3326, allocations: 3.938 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002492/0.3329, allocations: 0 / 1.291 GB, free: 4.234 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.0001414/0.333, allocations: 170.5 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.974e-05/0.3331, allocations: 0 / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3331, allocations: 0 / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.3331, allocations: 0 / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.3335, allocations: 467.7 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.3337, allocations: 174 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.334, allocations: 0.6767 MB / 1.293 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.334, allocations: 7.438 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.334, allocations: 0 / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of Templates: time 0.001735/0.3358, allocations: 327.8 kB / 1.293 GB, free: 2.363 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.797934110014467]