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.0007925/0.0007925, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007972/0.0007972, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8543/0.8543, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.637/1.637, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] 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 3.056e-06/3.056e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.68e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001145/0.001172, allocations: 0.5557 MB / 0.9523 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.519e-05/0.001217, allocations: 4 kB / 0.9523 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.001245, allocations: 0 / 0.9523 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.001271, allocations: 0 / 0.9523 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.605e-05/0.001297, allocations: 0 / 0.9523 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.929e-05/0.001326, allocations: 3.938 kB / 0.9523 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.001387, allocations: 4 kB / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.001436, allocations: 0 / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.001467, allocations: 7.938 kB / 0.9523 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.93e-05/0.001486, allocations: 0 / 0.9523 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.001508, allocations: 0 / 0.9523 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-06/0.001511, allocations: 4 kB / 0.9523 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.001526, allocations: 3.984 kB / 0.9523 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.001543, allocations: 0 / 0.9523 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 6.073e-05/0.001604, allocations: 7.984 kB / 0.9523 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.001606, allocations: 0 / 0.9523 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.92e-07/0.001607, allocations: 0 / 0.9523 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.001611, allocations: 0 / 0.9523 GB, free: 2.379 MB / 0.9011 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.0002479/0.001859, allocations: 238.4 kB / 0.9525 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.001897, allocations: 16.03 kB / 0.9526 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.001923, allocations: 0.9375 kB / 0.9526 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/0.002001, allocations: 105.8 kB / 0.9527 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.002012, allocations: 384 / 0.9527 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.002021, allocations: 4.375 kB / 0.9527 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.336e-05/0.002094, allocations: 34.2 kB / 0.9527 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.002102, allocations: 192 / 0.9527 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.00211, allocations: 384 / 0.9527 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.002114, allocations: 384 / 0.9527 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.002132, allocations: 11.88 kB / 0.9527 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.002364, allocations: 331.2 kB / 0.953 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.293e-05/0.002426, allocations: 169.1 kB / 0.9532 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.002449, allocations: 80.14 kB / 0.9533 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.002473, allocations: 83.22 kB / 0.9533 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.002505, allocations: 105.8 kB / 0.9534 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.002506, allocations: 0 / 0.9534 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.386e-05/0.002559, allocations: 33.58 kB / 0.9535 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.002605, allocations: 126.7 kB / 0.9536 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.002744, allocations: 97.86 kB / 0.9537 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.002751, allocations: 25.83 kB / 0.9537 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.002779, allocations: 84.14 kB / 0.9538 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.00278, allocations: 0 / 0.9538 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.002799, allocations: 17.7 kB / 0.9538 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.002867, allocations: 310.8 kB / 0.9541 GB, free: 380 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-06/0.002872, allocations: 0 / 0.9541 GB, free: 380 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-06/0.002876, allocations: 3.938 kB / 0.9541 GB, free: 376 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.871e-05/0.002895, allocations: 75.28 kB / 0.9542 GB, free: 300 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.00291, allocations: 75.28 kB / 0.9543 GB, free: 224 kB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.251e-05/0.002943, allocations: 29.7 kB / 0.9543 GB, free: 188 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.002968, allocations: 79.28 kB / 0.9544 GB, free: 108 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.002987, allocations: 87.22 kB / 0.9544 GB, free: 20 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.103e-05/0.003048, allocations: 162.5 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.831e-05/0.003066, allocations: 79.27 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/0.0031, allocations: 159.1 kB / 0.9548 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.003142, allocations: 75.28 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.003157, allocations: 75.28 kB / 0.955 GB, free: 15.48 MB / 0.9167 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 7.242e-05/0.003229, allocations: 260.4 kB / 0.9552 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.00326, allocations: 108.9 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.003295, allocations: 115.9 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.861e-05/0.003334, allocations: 184.4 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-05/0.003372, allocations: 180.3 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.761e-05/0.00341, allocations: 180.3 kB / 0.9559 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.003528, allocations: 360.8 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/0.003549, allocations: 101 kB / 0.9564 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.003571, allocations: 108.9 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.763e-05/0.003609, allocations: 176.3 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.003649, allocations: 180.3 kB / 0.9568 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.185e-05/0.003691, allocations: 192.1 kB / 0.957 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.74e-05/0.003729, allocations: 184.2 kB / 0.9572 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.441e-05/0.003813, allocations: 299.8 kB / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.003842, allocations: 112.9 kB / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.003888, allocations: 184.2 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.003933, allocations: 108.9 kB / 0.9579 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.003976, allocations: 188.2 kB / 0.958 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.004001, allocations: 101 kB / 0.9581 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.555e-05/0.004026, allocations: 75.28 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004026, allocations: 0 / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001592/0.004185, allocations: 4 kB / 0.9582 GB, free: 11.96 MB / 0.9167 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 9.26e-05/0.004278, allocations: 170.5 kB / 0.9584 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 3.86e-05/0.004317, allocations: 12.03 kB / 0.9584 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.004318, allocations: 0 / 0.9584 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.004319, allocations: 0 / 0.9584 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.004559, allocations: 459.7 kB / 0.9588 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.00475, allocations: 181.8 kB / 0.959 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.744e-05/0.004787, allocations: 59.34 kB / 0.9591 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.073e-05/0.004798, allocations: 8.5 kB / 0.9591 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.004798, allocations: 0 / 0.9591 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.001047/0.005846, allocations: 323.1 kB / 0.9594 GB, free: 10.71 MB / 0.9167 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: 6.270024050027132]