Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001663/0.001663, allocations: 97.11 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.002019/0.002019, allocations: 211.5 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.602/1.602, 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.291/3.291, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.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.002077/0.002077, allocations: 69.34 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4349, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001827/0.4368, allocations: 0.5899 MB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.041e-05/0.4368, allocations: 3.984 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.4368, allocations: 0 / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.4369, allocations: 0 / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.639e-05/0.4369, allocations: 7.938 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 2.668e-05/0.4369, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.807e-05/0.437, allocations: 4 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.159e-05/0.437, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.408e-05/0.4371, allocations: 0 / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.975e-05/0.4371, allocations: 7.938 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.4371, allocations: 0 / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.4371, allocations: 4 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.4371, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.4371, allocations: 0 / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.347e-05/0.4372, allocations: 7.922 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4372, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4372, allocations: 4 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4372, allocations: 0 / 1.328 GB, free: 340 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.0003182/0.4375, allocations: 234.4 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4376, allocations: 12.03 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.4376, allocations: 0.9375 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.4377, allocations: 110.6 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.4377, allocations: 384 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.4377, allocations: 384 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/0.4378, allocations: 30.27 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4378, allocations: 192 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.4378, allocations: 7.938 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4378, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.4379, allocations: 3.938 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.4382, allocations: 339.2 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.4383, allocations: 169.6 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/0.4384, allocations: 80.14 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.4384, allocations: 79.22 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.801e-05/0.4385, allocations: 117.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/0.4385, allocations: 3.984 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.341e-05/0.4385, allocations: 33.7 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.4386, allocations: 55.41 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.4387, allocations: 93.86 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4387, allocations: 25.7 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.4387, allocations: 80.14 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.4387, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.4388, allocations: 9.719 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4389, allocations: 318.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.4389, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-06/0.4389, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.439, allocations: 75.28 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-05/0.439, allocations: 79.41 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.036e-05/0.4391, allocations: 41.58 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.4391, allocations: 79.28 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/0.4392, allocations: 79.22 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.4393, allocations: 158.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.86e-05/0.4393, allocations: 75.28 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-05/0.4394, allocations: 154.5 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.4395, allocations: 83.22 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.4395, allocations: 75.28 kB / 1.33 GB, free: 13.5 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.0001524/0.4396, allocations: 260.4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.4397, allocations: 116.9 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.4398, allocations: 104 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-05/0.4399, allocations: 184.2 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.647e-05/0.4399, allocations: 105 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.44, allocations: 101 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.4401, allocations: 184.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.4402, allocations: 105 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4403, allocations: 188.2 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001265/0.4404, allocations: 259.5 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002314/0.4407, allocations: 379.4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.466e-05/0.4407, allocations: 105 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.896e-05/0.4408, allocations: 83.27 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of Backend: time 4.31e-07/0.4408, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.4411, allocations: 78.34 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006874/0.4418, allocations: 0.9008 MB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of Templates: time 0.002183/0.444, allocations: 183.2 kB / 1.334 GB, free: 10.05 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.862510310995276]