Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001678/0.001678, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002119/0.002119, allocations: 214.4 kB / 23.04 MB, free: 4.863 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.147/3.147, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.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.002057/0.002057, allocations: 69.83 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002006/0.3494, allocations: 0.5615 MB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.037e-05/0.3495, allocations: 4 kB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.3495, allocations: 0 / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.3495, allocations: 0 / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.3495, allocations: 0 / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.908e-05/0.3496, allocations: 0 / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.3496, allocations: 3.938 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.523e-05/0.3497, allocations: 4 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.285e-05/0.3497, allocations: 4 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.951e-05/0.3497, allocations: 0 / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3497, allocations: 3.984 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-06/0.3497, allocations: 3.938 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.3498, allocations: 0 / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.3498, allocations: 4 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.715e-05/0.3498, allocations: 7.984 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3499, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3499, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.3499, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 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.0003132/0.3502, allocations: 234.4 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3502, allocations: 12.03 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.3502, allocations: 4.938 kB / 1.328 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3504, allocations: 102.5 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3504, allocations: 4.359 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3504, allocations: 384 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.069e-05/0.3505, allocations: 38.25 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3505, allocations: 192 / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.3505, allocations: 3.938 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3505, allocations: 3.938 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.314e-05/0.3505, allocations: 0 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.3508, allocations: 339.1 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3509, allocations: 173.6 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.351, allocations: 80.14 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.351, allocations: 87.09 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/0.3511, allocations: 109.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.3511, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.403e-05/0.3512, allocations: 29.7 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.3513, allocations: 126.7 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.3513, allocations: 97.86 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3514, allocations: 25.83 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.3514, allocations: 84.14 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.3514, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.3514, allocations: 9.719 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3516, allocations: 318.8 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/0.3516, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.3516, allocations: 3.938 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.751e-05/0.3517, allocations: 75.28 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.329e-05/0.3517, allocations: 75.28 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.755e-05/0.3518, allocations: 33.64 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/0.3518, allocations: 80.69 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/0.3519, allocations: 83.28 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.34e-05/0.352, allocations: 158.5 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.243e-05/0.352, allocations: 75.28 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.752e-05/0.3521, allocations: 158.5 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.3522, allocations: 83.28 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.3522, allocations: 75.28 kB / 1.33 GB, free: 13.48 MB / 1.029 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.0001865/0.3524, allocations: 264.3 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.3525, allocations: 108.9 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.3525, allocations: 104 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/0.3526, allocations: 184.2 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/0.3527, allocations: 184.3 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001199/0.3529, allocations: 180.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.3532, allocations: 352.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.317e-05/0.3532, allocations: 105 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.3533, allocations: 108.9 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.3534, allocations: 184.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.3535, allocations: 180.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001027/0.3536, allocations: 180.5 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001137/0.3537, allocations: 188.2 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.354, allocations: 303.8 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.354, allocations: 112.9 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.3542, allocations: 188.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.3543, allocations: 104.9 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3544, allocations: 180.2 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.3544, allocations: 105 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.3545, allocations: 75.28 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3545, allocations: 0 / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003287/0.3548, allocations: 0 / 1.334 GB, free: 9.973 MB / 1.029 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.000217/0.355, allocations: 174.5 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.3551, allocations: 16.02 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3551, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.3551, allocations: 4 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.3556, allocations: 451.7 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.356, allocations: 182 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.358e-05/0.356, allocations: 51.36 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.3561, allocations: 11.44 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/0.3561, allocations: 0 / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of Templates: time 0.001866/0.3579, allocations: 315.9 kB / 1.335 GB, free: 8.723 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.03497779997997]