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.002003/0.002003, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002539/0.002539, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.8 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002082/0.002082, allocations: 64.48 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3228, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001711/0.3245, allocations: 0.5641 MB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.231e-05/0.3246, allocations: 4 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.3246, allocations: 0 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.3246, allocations: 0 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.36e-05/0.3247, allocations: 0 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.593e-05/0.3247, allocations: 0 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.3248, allocations: 4 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.3248, allocations: 0 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.377e-05/0.3248, allocations: 0 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.003e-05/0.3249, allocations: 4 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.3249, allocations: 0 / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-06/0.3249, allocations: 4 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.3249, allocations: 0 / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.3249, allocations: 3.938 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.482e-05/0.325, allocations: 11.92 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.325, allocations: 3.938 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.325, allocations: 0 / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.325, allocations: 0 / 1.285 GB, free: 10.57 MB / 0.9825 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.0003036/0.3253, allocations: 232.5 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3253, allocations: 16.03 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.3254, allocations: 4.922 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3255, allocations: 106.5 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3255, allocations: 384 / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.3255, allocations: 4.375 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.54e-05/0.3256, allocations: 30.27 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3256, allocations: 192 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.3256, allocations: 3.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3256, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.29e-05/0.3256, allocations: 4 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.326, allocations: 358.5 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.3261, allocations: 173.1 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.3261, allocations: 80.14 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.3262, allocations: 79.28 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.3262, allocations: 105.8 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3262, allocations: 0 / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.377e-05/0.3263, allocations: 33.64 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.3264, allocations: 130.7 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.3265, allocations: 93.84 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3265, allocations: 25.7 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.3265, allocations: 92.25 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.3265, allocations: 0 / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.3265, allocations: 13.66 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3267, allocations: 314.8 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-06/0.3267, allocations: 160 / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-06/0.3267, allocations: 0 / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.3267, allocations: 75.28 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/0.3268, allocations: 79.28 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.411e-05/0.3268, allocations: 41.58 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.3269, allocations: 83.27 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.3269, allocations: 83.28 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.73e-05/0.327, allocations: 154.5 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.327, allocations: 75.28 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.43e-05/0.3271, allocations: 150.6 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.3272, allocations: 91.22 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.3272, allocations: 77.06 kB / 1.288 GB, free: 7.625 MB / 0.9825 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.0001323/0.3273, allocations: 264.3 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.3274, allocations: 108.9 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.3274, allocations: 108.1 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.95e-05/0.3275, allocations: 180.3 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.576e-05/0.3276, allocations: 184.2 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.948e-05/0.3277, allocations: 184.2 kB / 1.289 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.3279, allocations: 372.2 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.461e-05/0.328, allocations: 101 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.328, allocations: 109 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.103e-05/0.3281, allocations: 188.2 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/0.3282, allocations: 180.3 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.66e-05/0.3282, allocations: 180.2 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.216e-05/0.3283, allocations: 180.3 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3285, allocations: 316.1 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.3285, allocations: 101 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/0.3286, allocations: 180.2 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.3287, allocations: 109 kB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.3288, allocations: 188.2 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.3288, allocations: 101 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.3289, allocations: 83.28 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 0 / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002447/0.3291, allocations: 0 / 1.291 GB, free: 4.086 MB / 0.9825 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.0001483/0.3293, allocations: 178.5 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.186e-05/0.3293, allocations: 0 / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3293, allocations: 0 / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.3293, allocations: 3.938 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3298, allocations: 463.7 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.33, allocations: 178 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.3303, allocations: 0.669 MB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.3304, allocations: 7.438 kB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3304, allocations: 0 / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of Templates: time 0.001611/0.332, allocations: 327.2 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 10.85722414002521]