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.001343/0.001343, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001524/0.001524, allocations: 156 kB / 23.01 MB, free: 4.605 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.696/2.696, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 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.002126/0.002126, allocations: 63.91 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 169.9 MB / 1.117 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00195/0.3845, allocations: 0.5479 MB / 1.118 GB, free: 2.062 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 3.81e-05/0.3845, allocations: 4 kB / 1.118 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.3846, allocations: 0 / 1.118 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.3846, allocations: 0 / 1.118 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.3846, allocations: 0 / 1.118 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.938e-05/0.3846, allocations: 0 / 1.118 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.385e-05/0.3847, allocations: 4 kB / 1.118 GB, free: 2.055 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.3848, allocations: 12 kB / 1.118 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.103e-05/0.3848, allocations: 3.938 kB / 1.118 GB, free: 2.039 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.98e-05/0.3848, allocations: 0 / 1.118 GB, free: 2.039 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.3848, allocations: 0 / 1.118 GB, free: 2.039 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-06/0.3848, allocations: 0 / 1.118 GB, free: 2.039 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.3848, allocations: 3.938 kB / 1.118 GB, free: 2.035 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.3848, allocations: 4 kB / 1.118 GB, free: 2.031 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.28e-05/0.3849, allocations: 7.969 kB / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3849, allocations: 0 / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3849, allocations: 0 / 1.118 GB, free: 2.023 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3849, allocations: 0 / 1.118 GB, free: 2.023 MB / 1.061 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.000325/0.3852, allocations: 242.4 kB / 1.118 GB, free: 1.754 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3853, allocations: 8.031 kB / 1.118 GB, free: 1.746 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.3853, allocations: 8.938 kB / 1.118 GB, free: 1.738 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3854, allocations: 106.5 kB / 1.118 GB, free: 1.609 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.3854, allocations: 384 / 1.118 GB, free: 1.609 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.3854, allocations: 4.312 kB / 1.118 GB, free: 1.605 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.663e-05/0.3855, allocations: 30.27 kB / 1.118 GB, free: 1.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3855, allocations: 192 / 1.118 GB, free: 1.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3855, allocations: 7.875 kB / 1.118 GB, free: 1.562 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3856, allocations: 0 / 1.118 GB, free: 1.562 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.3856, allocations: 7.938 kB / 1.118 GB, free: 1.555 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.3859, allocations: 335.1 kB / 1.119 GB, free: 1.195 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.386, allocations: 169.1 kB / 1.119 GB, free: 1.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.3861, allocations: 80.14 kB / 1.119 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.3861, allocations: 79.22 kB / 1.119 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.474e-05/0.3862, allocations: 117.8 kB / 1.119 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3862, allocations: 0 / 1.119 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.153e-05/0.3863, allocations: 25.7 kB / 1.119 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.3863, allocations: 126.7 kB / 1.119 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.3864, allocations: 97.86 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3865, allocations: 25.7 kB / 1.119 GB, free: 440 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.3865, allocations: 80.14 kB / 1.12 GB, free: 356 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.3865, allocations: 0 / 1.12 GB, free: 356 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.3865, allocations: 13.7 kB / 1.12 GB, free: 336 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3867, allocations: 318.8 kB / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-06/0.3867, allocations: 0 / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-06/0.3867, allocations: 0 / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.3868, allocations: 75.28 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-05/0.3868, allocations: 75.28 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.549e-05/0.3869, allocations: 37.58 kB / 1.12 GB, free: 15.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.3869, allocations: 83.41 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.3869, allocations: 75.28 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.733e-05/0.387, allocations: 158.5 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.673e-05/0.3871, allocations: 79.27 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.613e-05/0.3872, allocations: 150.6 kB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.3872, allocations: 87.22 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.3873, allocations: 75.28 kB / 1.121 GB, free: 15.12 MB / 1.076 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.0001551/0.3874, allocations: 256.4 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.3875, allocations: 112.9 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.3876, allocations: 115.9 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.642e-05/0.3877, allocations: 184.2 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.884e-05/0.3878, allocations: 188.2 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.67e-05/0.3879, allocations: 176.5 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.3881, allocations: 356.8 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.967e-05/0.3882, allocations: 105 kB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.3882, allocations: 104.9 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.3884, allocations: 188.2 kB / 1.122 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.3884, allocations: 176.3 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.059e-05/0.3885, allocations: 180.2 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.931e-05/0.3886, allocations: 184.2 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.3888, allocations: 311.7 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.3889, allocations: 108.9 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.389, allocations: 188.2 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.3891, allocations: 101 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.655e-05/0.3892, allocations: 184.2 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.3894, allocations: 109 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.3894, allocations: 75.28 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3894, allocations: 0 / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002858/0.3897, allocations: 0 / 1.124 GB, free: 11.59 MB / 1.076 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.0001585/0.3899, allocations: 178.6 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.16e-05/0.3899, allocations: 0 / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3899, allocations: 4 kB / 1.124 GB, free: 11.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.3899, allocations: 3.938 kB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3903, allocations: 454.2 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.3906, allocations: 164.1 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.202e-05/0.3906, allocations: 55.36 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.904e-06/0.3906, allocations: 0 / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.3907, allocations: 12.48 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3907, allocations: 0 / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of Templates: time 0.002225/0.3929, allocations: 144.9 kB / 1.125 GB, free: 10.54 MB / 1.076 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 -s ida -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: 8.844992347992957]