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.002009/0.002009, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00205/0.00205, allocations: 209.1 kB / 23 MB, free: 4.934 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.277/3.277, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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.002011/0.002011, allocations: 72.14 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4023, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001899/0.4042, allocations: 0.5446 MB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.006e-05/0.4043, allocations: 7.938 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.4043, allocations: 0 / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.4043, allocations: 0 / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.731e-05/0.4044, allocations: 0 / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.163e-05/0.4044, allocations: 4 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.752e-05/0.4045, allocations: 4 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.4045, allocations: 4 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.315e-05/0.4046, allocations: 0 / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.4046, allocations: 3.984 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.4046, allocations: 0 / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-06/0.4046, allocations: 0 / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.4046, allocations: 0 / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.4046, allocations: 3.938 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.914e-05/0.4047, allocations: 4 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4047, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4047, allocations: 7.938 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.4047, allocations: 0 / 1.328 GB, free: 444 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.0003539/0.4051, allocations: 248.1 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.4051, allocations: 8.031 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.4051, allocations: 0.9375 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.4053, allocations: 106.5 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4053, allocations: 384 / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.4053, allocations: 384 / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.4054, allocations: 34.25 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4054, allocations: 4.172 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4054, allocations: 7.938 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.4054, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.393e-05/0.4054, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.4058, allocations: 335.1 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.4059, allocations: 173.6 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.406, allocations: 80.14 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.406, allocations: 79.22 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.379e-05/0.4061, allocations: 109.8 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.4061, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.052e-05/0.4062, allocations: 37.64 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4062, allocations: 55.41 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.4063, allocations: 89.86 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.4063, allocations: 25.7 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.4064, allocations: 88.08 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.4064, allocations: 0 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.4064, allocations: 13.72 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4066, allocations: 310.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.4066, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.4066, allocations: 4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.4066, allocations: 83.27 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-05/0.4067, allocations: 75.41 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.58e-05/0.4067, allocations: 37.58 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.4068, allocations: 83.28 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-05/0.4068, allocations: 75.28 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.093e-05/0.4069, allocations: 150.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.447e-05/0.407, allocations: 83.22 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.846e-05/0.407, allocations: 154.6 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.4071, allocations: 83.2 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.4071, allocations: 79.28 kB / 1.33 GB, free: 13.59 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.0001558/0.4073, allocations: 256.4 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.4074, allocations: 108.9 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.4074, allocations: 111.9 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.269e-05/0.4075, allocations: 184.2 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/0.4076, allocations: 108.9 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.4077, allocations: 105 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.4077, allocations: 176.3 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.4078, allocations: 104.9 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.4079, allocations: 184.3 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001348/0.4081, allocations: 267.4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002195/0.4083, allocations: 375.4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.337e-05/0.4084, allocations: 113 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.4084, allocations: 79.28 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of Backend: time 2.71e-07/0.4084, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003619/0.4088, allocations: 80.11 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006567/0.4094, allocations: 0.8969 MB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of Templates: time 0.002272/0.4117, allocations: 168.8 kB / 1.333 GB, free: 10.16 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: 9.231524812006683]