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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 200.2 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8036/0.8057, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00184/0.8075, allocations: 0.5421 MB / 1.275 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.024e-05/0.8076, allocations: 0 / 1.275 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.8076, allocations: 0 / 1.275 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.8076, allocations: 0 / 1.275 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.8076, allocations: 0 / 1.275 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.514e-05/0.8077, allocations: 7.938 kB / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.618e-05/0.8077, allocations: 8 kB / 1.275 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.272e-05/0.8078, allocations: 7.984 kB / 1.275 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.292e-05/0.8078, allocations: 0 / 1.275 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.078e-05/0.8078, allocations: 4 kB / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.8078, allocations: 0 / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-06/0.8078, allocations: 0 / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.8079, allocations: 3.984 kB / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.8079, allocations: 0 / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.363e-05/0.8079, allocations: 7.922 kB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.808, allocations: 0 / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.973e-06/0.808, allocations: 0 / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.808, allocations: 11.94 kB / 1.275 GB, free: 3.941 MB / 0.9669 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.0003463/0.8083, allocations: 314.2 kB / 1.275 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.8083, allocations: 12.06 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.8084, allocations: 0.9375 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.8085, allocations: 164.4 kB / 1.275 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.8085, allocations: 384 / 1.275 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.8085, allocations: 384 / 1.275 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.431e-05/0.8086, allocations: 30.27 kB / 1.275 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.8086, allocations: 4.188 kB / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.8086, allocations: 7.875 kB / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.8086, allocations: 0 / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.344e-05/0.8087, allocations: 0 / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.809, allocations: 383.5 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.8091, allocations: 173.1 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.8092, allocations: 88.17 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.8092, allocations: 75.28 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.8093, allocations: 105.8 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.8093, allocations: 0 / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.085e-05/0.8093, allocations: 29.64 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.8094, allocations: 126.7 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.8095, allocations: 105.8 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.8095, allocations: 25.7 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.8096, allocations: 80.14 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.8096, allocations: 0 / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.8096, allocations: 13.72 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8097, allocations: 310.8 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.057e-06/0.8097, allocations: 0 / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.8097, allocations: 4 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.8098, allocations: 79.41 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.921e-05/0.8098, allocations: 75.28 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.797e-05/0.8099, allocations: 37.58 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.8099, allocations: 88.77 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.8099, allocations: 87.31 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.833e-05/0.81, allocations: 150.6 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.048e-05/0.8101, allocations: 79.22 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.155e-05/0.8101, allocations: 154.6 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.8102, allocations: 79.22 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.8102, allocations: 79.28 kB / 1.277 GB, free: 0.8086 MB / 0.9669 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.0001412/0.8104, allocations: 264.9 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.8104, allocations: 108.9 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.8105, allocations: 113.7 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.798e-05/0.8106, allocations: 176.3 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001101/0.8107, allocations: 180.2 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-05/0.8108, allocations: 176.3 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.8111, allocations: 413.1 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-05/0.8111, allocations: 105 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.8112, allocations: 101 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.134e-05/0.8113, allocations: 188.2 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.8113, allocations: 176.3 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.07e-05/0.8114, allocations: 188.2 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.173e-05/0.8115, allocations: 176.3 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.8117, allocations: 316 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.8118, allocations: 190 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.8119, allocations: 180.2 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.812, allocations: 105 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.8121, allocations: 184.2 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/0.8121, allocations: 108.9 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.8122, allocations: 75.28 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8122, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002646/0.8124, allocations: 0 / 1.281 GB, free: 13.14 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.0001536/0.8126, allocations: 178.5 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.283e-05/0.8126, allocations: 96 / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8126, allocations: 4 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.8126, allocations: 0 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.813, allocations: 467.5 kB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.8133, allocations: 160.2 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.8136, allocations: 0.6729 MB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.133e-06/0.8136, allocations: 7.938 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.8136, allocations: 7.438 kB / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8136, allocations: 0 / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.002306/0.8159, allocations: 168.8 kB / 1.282 GB, free: 11.43 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 -s gbode -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_2/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.623186097014695]