Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001889/0.001889, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.001959/0.001959, allocations: 168.8 kB / 22.46 MB, free: 5.359 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.905/2.905, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.915e-05/4.195e-05, allocations: 4.672 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001989/0.002031, allocations: 0.5558 MB / 0.9515 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.248e-05/0.002073, allocations: 0 / 0.9515 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.002104, allocations: 0 / 0.9515 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.002135, allocations: 0 / 0.9515 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.545e-05/0.00216, allocations: 0 / 0.9515 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 2.98e-05/0.00219, allocations: 0 / 0.9515 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.002262, allocations: 8 kB / 0.9515 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.438e-05/0.002337, allocations: 3.984 kB / 0.9515 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.00237, allocations: 4 kB / 0.9515 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.00239, allocations: 0 / 0.9515 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.002416, allocations: 0 / 0.9515 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.002427, allocations: 4 kB / 0.9515 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.002441, allocations: 0 / 0.9515 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.002462, allocations: 0 / 0.9515 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.809e-05/0.00253, allocations: 7.922 kB / 0.9515 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.002533, allocations: 0 / 0.9515 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002534, allocations: 0 / 0.9515 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.002544, allocations: 0 / 0.9515 GB, free: 10.95 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.0003782/0.002922, allocations: 238.4 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.002968, allocations: 19.97 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.003002, allocations: 0.9375 kB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.003153, allocations: 109.7 kB / 0.9519 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003163, allocations: 384 / 0.9519 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.003178, allocations: 4.375 kB / 0.9519 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.003267, allocations: 26.27 kB / 0.9519 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.003278, allocations: 192 / 0.9519 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.003287, allocations: 384 / 0.9519 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.003292, allocations: 384 / 0.9519 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.003312, allocations: 7.938 kB / 0.9519 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.003685, allocations: 339.1 kB / 0.9523 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.00381, allocations: 165.1 kB / 0.9524 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.003856, allocations: 80.14 kB / 0.9525 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.0039, allocations: 75.28 kB / 0.9526 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/0.003959, allocations: 113.8 kB / 0.9527 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.00396, allocations: 0 / 0.9527 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.003e-05/0.00405, allocations: 33.58 kB / 0.9527 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.00414, allocations: 130.6 kB / 0.9528 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.004255, allocations: 93.86 kB / 0.9529 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.004274, allocations: 25.7 kB / 0.9529 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.00434, allocations: 84.27 kB / 0.953 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.004342, allocations: 0 / 0.953 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.00438, allocations: 17.7 kB / 0.953 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.004541, allocations: 314.8 kB / 0.9533 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.004547, allocations: 0 / 0.9533 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.00455, allocations: 0 / 0.9533 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.00459, allocations: 75.28 kB / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-05/0.00464, allocations: 75.28 kB / 0.9535 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.538e-05/0.004705, allocations: 33.64 kB / 0.9535 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.004756, allocations: 79.28 kB / 0.9536 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.976e-05/0.004806, allocations: 83.22 kB / 0.9537 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.071e-05/0.004896, allocations: 158.5 kB / 0.9538 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.004944, allocations: 79.27 kB / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-05/0.005015, allocations: 154.6 kB / 0.954 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.736e-05/0.005112, allocations: 87.8 kB / 0.9541 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.005149, allocations: 75.28 kB / 0.9542 GB, free: 8.039 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.0001706/0.00532, allocations: 260.4 kB / 0.9545 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.005395, allocations: 109 kB / 0.9546 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.005473, allocations: 111.9 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.304e-05/0.005566, allocations: 180.3 kB / 0.9548 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-05/0.005661, allocations: 184.2 kB / 0.955 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/0.005764, allocations: 188.5 kB / 0.9552 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.006042, allocations: 356.8 kB / 0.9555 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-05/0.006111, allocations: 105 kB / 0.9556 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.006179, allocations: 105 kB / 0.9557 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-05/0.006276, allocations: 184.2 kB / 0.9559 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/0.00636, allocations: 176.3 kB / 0.9561 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001004/0.00646, allocations: 188.1 kB / 0.9563 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001041/0.006564, allocations: 180.2 kB / 0.9564 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.006767, allocations: 303.8 kB / 0.9567 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.006838, allocations: 105 kB / 0.9568 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.006945, allocations: 192.2 kB / 0.957 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.007045, allocations: 104.9 kB / 0.9571 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.007155, allocations: 184.2 kB / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.007205, allocations: 101 kB / 0.9574 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.007254, allocations: 75.28 kB / 0.9574 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007254, allocations: 0 / 0.9574 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002565/0.00751, allocations: 0 / 0.9574 GB, free: 4.535 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.0001836/0.007694, allocations: 178.5 kB / 0.9576 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.929e-05/0.007743, allocations: 7.938 kB / 0.9576 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007745, allocations: 4.094 kB / 0.9576 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.007751, allocations: 3.938 kB / 0.9576 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.008248, allocations: 461.3 kB / 0.9581 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.008587, allocations: 160.2 kB / 0.9582 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.61e-05/0.008663, allocations: 55.36 kB / 0.9583 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.801e-06/0.008669, allocations: 3.984 kB / 0.9583 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.008687, allocations: 8.5 kB / 0.9583 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of SimCode: time 9.12e-07/0.008687, allocations: 0 / 0.9583 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of Templates: time 0.002461/0.01115, allocations: 157 kB / 0.9584 GB, free: 3.457 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.12404364719987]