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.001373/0.001373, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.00153/0.00153, allocations: 158.4 kB / 22.45 MB, free: 5.375 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.616/1.616, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.752/2.752, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.547e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001787/0.001822, allocations: 0.5985 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 5.414e-05/0.001876, allocations: 4 kB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.001911, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.001938, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.001972, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.014e-05/0.002002, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.002072, allocations: 4 kB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.002143, allocations: 4 kB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.002185, allocations: 0 / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.994e-05/0.002214, allocations: 0 / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.002237, allocations: 3.938 kB / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-06/0.002242, allocations: 4 kB / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.002255, allocations: 0 / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.002273, allocations: 0 / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.198e-05/0.002345, allocations: 11.92 kB / 0.9516 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.002348, allocations: 0 / 0.9516 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002348, allocations: 0 / 0.9516 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002352, allocations: 0 / 0.9516 GB, free: 10.88 MB / 0.8575 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.0003607/0.002713, allocations: 238.4 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.002757, allocations: 8.031 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.002784, allocations: 4.875 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.002909, allocations: 113.7 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.002924, allocations: 4.375 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.002937, allocations: 384 / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.003045, allocations: 30.27 kB / 0.952 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.003056, allocations: 192 / 0.952 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.003066, allocations: 384 / 0.952 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.003071, allocations: 384 / 0.952 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.003095, allocations: 11.88 kB / 0.952 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.003465, allocations: 323.2 kB / 0.9523 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.003602, allocations: 173.2 kB / 0.9525 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.003664, allocations: 84.14 kB / 0.9526 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.003706, allocations: 79.28 kB / 0.9527 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.003767, allocations: 109.8 kB / 0.9528 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.003768, allocations: 0 / 0.9528 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.47e-05/0.003852, allocations: 33.64 kB / 0.9528 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.003943, allocations: 126.7 kB / 0.9529 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.004057, allocations: 89.86 kB / 0.953 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.004093, allocations: 25.7 kB / 0.953 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.004161, allocations: 88.12 kB / 0.9531 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.004163, allocations: 0 / 0.9531 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.004188, allocations: 13.72 kB / 0.9531 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.004359, allocations: 319 kB / 0.9534 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-06/0.004366, allocations: 0 / 0.9534 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-06/0.004369, allocations: 4 kB / 0.9534 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.004413, allocations: 75.28 kB / 0.9535 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/0.004448, allocations: 75.28 kB / 0.9536 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.619e-05/0.004505, allocations: 33.58 kB / 0.9536 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.004555, allocations: 83.28 kB / 0.9537 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.322e-05/0.004598, allocations: 79.22 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.572e-05/0.004684, allocations: 154.5 kB / 0.9539 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.15e-05/0.004725, allocations: 79.28 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.361e-05/0.004799, allocations: 158.5 kB / 0.9541 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.004893, allocations: 83.86 kB / 0.9542 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.004939, allocations: 79.28 kB / 0.9543 GB, free: 7.973 MB / 0.8575 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.0001726/0.005112, allocations: 256.4 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.005198, allocations: 109 kB / 0.9546 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.005263, allocations: 111.9 kB / 0.9547 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.987e-05/0.005363, allocations: 188.2 kB / 0.9549 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/0.005471, allocations: 176.3 kB / 0.9551 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.076e-05/0.005561, allocations: 184.5 kB / 0.9553 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.005818, allocations: 352.8 kB / 0.9556 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.237e-05/0.00587, allocations: 112.9 kB / 0.9557 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.005938, allocations: 112.9 kB / 0.9558 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.742e-05/0.006036, allocations: 176.3 kB / 0.956 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/0.006122, allocations: 180.3 kB / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.061e-05/0.006213, allocations: 184.1 kB / 0.9563 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.851e-05/0.006301, allocations: 180.2 kB / 0.9565 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.006481, allocations: 307.8 kB / 0.9568 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.006539, allocations: 101 kB / 0.9569 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.006644, allocations: 192.2 kB / 0.9571 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.006734, allocations: 104.9 kB / 0.9572 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.006836, allocations: 184.2 kB / 0.9574 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.006886, allocations: 105 kB / 0.9575 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.006937, allocations: 83.28 kB / 0.9575 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.006937, allocations: 0 / 0.9575 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002504/0.007187, allocations: 0 / 0.9575 GB, free: 4.461 MB / 0.8575 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.0001788/0.007366, allocations: 170.5 kB / 0.9577 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.65e-05/0.007422, allocations: 3.984 kB / 0.9577 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.00743, allocations: 0 / 0.9577 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.007432, allocations: 3.938 kB / 0.9577 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.007907, allocations: 461.5 kB / 0.9581 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.008226, allocations: 164.2 kB / 0.9583 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.008293, allocations: 55.3 kB / 0.9584 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.825e-06/0.008296, allocations: 0 / 0.9584 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.008315, allocations: 8.5 kB / 0.9584 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.008315, allocations: 0 / 0.9584 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of Templates: time 0.002325/0.01064, allocations: 160.8 kB / 0.9585 GB, free: 3.398 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 8.054425358772278]