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.001672/0.001672, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001482/0.001482, allocations: 157.5 kB / 23.01 MB, free: 4.949 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.546/1.546, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.834/2.834, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.003339/0.003339, allocations: 67.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.092, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001568/1.094, allocations: 0.5442 MB / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 3.764e-05/1.094, allocations: 3.938 kB / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/1.094, allocations: 2.781 kB / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.444e-05/1.094, allocations: 0 / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.165e-05/1.094, allocations: 0 / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 2.851e-05/1.094, allocations: 0 / 1.154 GB, free: 32.99 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.884e-05/1.094, allocations: 7.984 kB / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/1.094, allocations: 6.594 kB / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.006e-05/1.094, allocations: 4 kB / 1.154 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.779e-05/1.094, allocations: 3.938 kB / 1.154 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/1.094, allocations: 0 / 1.154 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-06/1.094, allocations: 3.188 kB / 1.154 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/1.094, allocations: 3.938 kB / 1.154 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/1.094, allocations: 0 / 1.154 GB, free: 32.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 6.148e-05/1.094, allocations: 0 / 1.154 GB, free: 32.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.094, allocations: 0 / 1.154 GB, free: 32.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.236e-06/1.094, allocations: 0 / 1.154 GB, free: 32.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.094, allocations: 4 kB / 1.154 GB, free: 32.96 MB / 1.076 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.0002374/1.094, allocations: 239.4 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/1.094, allocations: 8.906 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/1.094, allocations: 4.938 kB / 1.155 GB, free: 32.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.219e-05/1.094, allocations: 105.1 kB / 1.155 GB, free: 32.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/1.094, allocations: 8.297 kB / 1.155 GB, free: 32.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/1.095, allocations: 384 / 1.155 GB, free: 32.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.779e-05/1.095, allocations: 29.05 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.095, allocations: 192 / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/1.095, allocations: 3.938 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.095, allocations: 7.328 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.436e-05/1.095, allocations: 2.438 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/1.095, allocations: 331.9 kB / 1.155 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/1.095, allocations: 169.1 kB / 1.155 GB, free: 32.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/1.095, allocations: 82.27 kB / 1.155 GB, free: 31.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/1.095, allocations: 79.22 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/1.095, allocations: 115.7 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/1.095, allocations: 0 / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.014e-05/1.095, allocations: 33.58 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/1.095, allocations: 129.1 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/1.095, allocations: 93.86 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/1.095, allocations: 28.11 kB / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/1.095, allocations: 80.14 kB / 1.156 GB, free: 31.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/1.095, allocations: 0 / 1.156 GB, free: 31.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/1.095, allocations: 11.62 kB / 1.156 GB, free: 31.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/1.095, allocations: 318.3 kB / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-06/1.095, allocations: 0 / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/1.095, allocations: 2.188 kB / 1.156 GB, free: 31.01 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.221e-05/1.095, allocations: 75.28 kB / 1.156 GB, free: 30.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.095, allocations: 75.28 kB / 1.156 GB, free: 30.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.577e-05/1.095, allocations: 37.05 kB / 1.156 GB, free: 30.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.095, allocations: 84.94 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.095, allocations: 79.22 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/1.095, allocations: 153.1 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.3e-05/1.095, allocations: 90.62 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/1.095, allocations: 153.3 kB / 1.157 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/1.095, allocations: 75.28 kB / 1.157 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/1.095, allocations: 86.22 kB / 1.157 GB, free: 30.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 5.562e-05/1.095, allocations: 257.2 kB / 1.157 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/1.096, allocations: 107.6 kB / 1.158 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/1.096, allocations: 115.2 kB / 1.158 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/1.096, allocations: 179.2 kB / 1.158 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/1.096, allocations: 184.2 kB / 1.158 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/1.096, allocations: 179.3 kB / 1.158 GB, free: 29.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/1.096, allocations: 352.2 kB / 1.158 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.096, allocations: 104.9 kB / 1.159 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/1.096, allocations: 101 kB / 1.159 GB, free: 28.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-05/1.096, allocations: 194.6 kB / 1.159 GB, free: 28.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/1.096, allocations: 180.3 kB / 1.159 GB, free: 28.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-05/1.096, allocations: 179.2 kB / 1.159 GB, free: 27.94 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.05e-05/1.096, allocations: 180.2 kB / 1.159 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.258e-05/1.096, allocations: 313.4 kB / 1.16 GB, free: 27.44 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/1.096, allocations: 111.6 kB / 1.16 GB, free: 27.32 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/1.096, allocations: 176.3 kB / 1.16 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/1.096, allocations: 111.8 kB / 1.16 GB, free: 27.03 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/1.096, allocations: 179.6 kB / 1.16 GB, free: 26.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/1.096, allocations: 111.7 kB / 1.16 GB, free: 26.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.547e-05/1.096, allocations: 75.28 kB / 1.16 GB, free: 26.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.096, allocations: 0 / 1.16 GB, free: 26.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002662/1.096, allocations: 0 / 1.16 GB, free: 26.66 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 8.526e-05/1.096, allocations: 175.4 kB / 1.161 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.178e-05/1.096, allocations: 0 / 1.161 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.096, allocations: 0 / 1.161 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/1.096, allocations: 2.469 kB / 1.161 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/1.097, allocations: 459.7 kB / 1.161 GB, free: 26.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/1.097, allocations: 159 kB / 1.161 GB, free: 25.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/1.097, allocations: 58.19 kB / 1.161 GB, free: 25.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.994e-06/1.097, allocations: 0 / 1.161 GB, free: 25.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-06/1.097, allocations: 8.5 kB / 1.161 GB, free: 25.8 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/1.097, allocations: 0 / 1.161 GB, free: 25.8 MB / 1.076 GB Notification: Performance of Templates: time 0.002013/1.099, allocations: 154.7 kB / 1.161 GB, free: 25.73 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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.238327643019147]