Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.001635/0.001635, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00184/0.00184, allocations: 192 kB / 22.17 MB, free: 5.656 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.438/1.438, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.765/2.765, 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 71.89 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7882, allocations: 168.7 MB / 1.274 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001716/0.7899, allocations: 0.5526 MB / 1.275 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.577e-05/0.7899, allocations: 4 kB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.79, allocations: 0 / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.79, allocations: 0 / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.736e-05/0.79, allocations: 0 / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.874e-05/0.7901, allocations: 4 kB / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.7901, allocations: 7.984 kB / 1.275 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.7902, allocations: 4 kB / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.422e-05/0.7902, allocations: 3.938 kB / 1.275 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.762e-05/0.7902, allocations: 3.938 kB / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.7902, allocations: 0 / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-06/0.7902, allocations: 0 / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.7903, allocations: 0 / 1.275 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.7903, allocations: 4 kB / 1.275 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.879e-05/0.7903, allocations: 4 kB / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7903, allocations: 0 / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7903, allocations: 4 kB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7903, allocations: 7.922 kB / 1.275 GB, free: 3.902 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.0003505/0.7907, allocations: 318.2 kB / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.7907, allocations: 8.031 kB / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.7908, allocations: 0.9375 kB / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.7909, allocations: 164.4 kB / 1.275 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-06/0.7909, allocations: 384 / 1.275 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.7909, allocations: 8.359 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.791, allocations: 34.27 kB / 1.275 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.791, allocations: 3.938 kB / 1.275 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.791, allocations: 4 kB / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.791, allocations: 0 / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.231e-05/0.791, allocations: 0 / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.7914, allocations: 383.5 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.7915, allocations: 173.1 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.7915, allocations: 80.14 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.7915, allocations: 75.28 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.7916, allocations: 109.9 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.7916, allocations: 0 / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.949e-05/0.7917, allocations: 29.64 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.7918, allocations: 130.7 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.7918, allocations: 101.8 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.7919, allocations: 25.7 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.7919, allocations: 80.14 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.7919, allocations: 0 / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.7919, allocations: 9.719 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7921, allocations: 314.8 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.487e-06/0.7921, allocations: 0 / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-06/0.7921, allocations: 4.125 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/0.7921, allocations: 79.28 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.2e-05/0.7921, allocations: 79.22 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.562e-05/0.7922, allocations: 33.64 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.7922, allocations: 79.28 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.674e-05/0.7923, allocations: 83.3 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.021e-05/0.7924, allocations: 150.6 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.422e-05/0.7924, allocations: 91.16 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.868e-05/0.7925, allocations: 150.6 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.7925, allocations: 79.22 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.7926, allocations: 79.22 kB / 1.277 GB, free: 0.7734 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.0001377/0.7927, allocations: 268.9 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.7928, allocations: 108.9 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.7928, allocations: 109.7 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.623e-05/0.7929, allocations: 180.3 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-05/0.793, allocations: 180.2 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-05/0.7931, allocations: 180.3 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.7934, allocations: 405.1 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/0.7934, allocations: 109 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.7935, allocations: 101 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-05/0.7935, allocations: 188.2 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.7936, allocations: 176.3 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-05/0.7937, allocations: 188.2 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-05/0.7938, allocations: 180.2 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.794, allocations: 316.1 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.7941, allocations: 182 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.7941, allocations: 184.2 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.7942, allocations: 109 kB / 1.28 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.34e-05/0.7943, allocations: 180.3 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.7944, allocations: 108.9 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.7944, allocations: 83.28 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7944, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002478/0.7947, allocations: 0 / 1.281 GB, free: 13.09 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.0001512/0.7948, allocations: 172.6 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.703e-05/0.7949, allocations: 8.094 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7949, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.7949, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.7953, allocations: 459.6 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.7955, allocations: 168.2 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.7958, allocations: 0.6768 MB / 1.282 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.542e-06/0.7958, allocations: 0 / 1.282 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.7958, allocations: 7.438 kB / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.7958, allocations: 0 / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of Templates: time 0.002066/0.7979, allocations: 168.8 kB / 1.282 GB, free: 11.39 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.45829337881878]