Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001397/0.001397, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001532/0.001532, allocations: 164.8 kB / 22.46 MB, free: 5.375 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.041/3.041, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.448e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001561/0.001596, allocations: 0.5655 MB / 1.001 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 3.865e-05/0.001634, allocations: 3.984 kB / 1.001 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.001665, allocations: 0 / 1.001 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.001695, allocations: 0 / 1.001 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.001724, allocations: 0 / 1.001 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.065e-05/0.001754, allocations: 0 / 1.001 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.001822, allocations: 4 kB / 1.001 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.001886, allocations: 4 kB / 1.001 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.001916, allocations: 7.938 kB / 1.001 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 1.828e-05/0.001934, allocations: 0 / 1.001 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.001958, allocations: 0 / 1.001 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-06/0.001963, allocations: 4 kB / 1.001 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.001975, allocations: 0 / 1.001 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.001993, allocations: 3.938 kB / 1.001 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 5.867e-05/0.002052, allocations: 3.984 kB / 1.001 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002053, allocations: 0 / 1.001 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002054, allocations: 0 / 1.001 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.002063, allocations: 0 / 1.001 GB, free: 6.719 MB / 0.9512 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.0003604/0.002424, allocations: 238.4 kB / 1.001 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.002467, allocations: 12.03 kB / 1.001 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.002503, allocations: 4.938 kB / 1.001 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.002618, allocations: 101.8 kB / 1.001 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.002629, allocations: 4.359 kB / 1.001 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.002644, allocations: 4.375 kB / 1.001 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.175e-05/0.002736, allocations: 26.27 kB / 1.001 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.002745, allocations: 192 / 1.001 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.002752, allocations: 384 / 1.001 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.002756, allocations: 384 / 1.001 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.002775, allocations: 15.88 kB / 1.001 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.003108, allocations: 327.2 kB / 1.001 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.003209, allocations: 165.1 kB / 1.002 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.003252, allocations: 84.12 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.003285, allocations: 75.28 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.003342, allocations: 113.8 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.003343, allocations: 3.938 kB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.5e-05/0.003418, allocations: 33.64 kB / 1.002 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.003495, allocations: 126.7 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.003588, allocations: 93.86 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.003606, allocations: 29.83 kB / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.003669, allocations: 84.09 kB / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.003671, allocations: 0 / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.003709, allocations: 13.72 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.003907, allocations: 314.8 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-06/0.003913, allocations: 0 / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-06/0.003916, allocations: 0 / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.003961, allocations: 75.28 kB / 1.003 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.956e-05/0.004011, allocations: 87.16 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.625e-05/0.004097, allocations: 29.7 kB / 1.003 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.004155, allocations: 79.28 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.968e-05/0.004215, allocations: 91.22 kB / 1.003 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001016/0.004316, allocations: 154.5 kB / 1.003 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.004367, allocations: 75.28 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.252e-05/0.004459, allocations: 162.5 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.004573, allocations: 75.28 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.00462, allocations: 75.28 kB / 1.003 GB, free: 3.816 MB / 0.9512 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.0001786/0.004798, allocations: 264.4 kB / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-05/0.004893, allocations: 109 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.004967, allocations: 107.9 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.741e-05/0.005065, allocations: 192.2 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-05/0.005154, allocations: 180.3 kB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.854e-05/0.005253, allocations: 180.5 kB / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.005561, allocations: 352.8 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.036e-05/0.005621, allocations: 109 kB / 1.005 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.325e-05/0.005685, allocations: 108.9 kB / 1.005 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.381e-05/0.005778, allocations: 176.3 kB / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.005881, allocations: 180.3 kB / 1.005 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001016/0.005983, allocations: 188.1 kB / 1.005 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000103/0.006086, allocations: 180.2 kB / 1.006 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.006298, allocations: 299.8 kB / 1.006 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.00637, allocations: 113 kB / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.006485, allocations: 188.2 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.006613, allocations: 104.9 kB / 1.006 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.006737, allocations: 184.2 kB / 1.006 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.006792, allocations: 101 kB / 1.007 GB, free: 392 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.006845, allocations: 75.28 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.006845, allocations: 0 / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004442/0.007289, allocations: 3.938 kB / 1.007 GB, free: 312 kB / 0.9512 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.0001983/0.007488, allocations: 174.5 kB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.148e-05/0.007549, allocations: 16.02 kB / 1.007 GB, free: 112 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.007552, allocations: 0 / 1.007 GB, free: 112 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.007553, allocations: 4 kB / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.008144, allocations: 451.7 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.008511, allocations: 164 kB / 1.007 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.297e-05/0.008583, allocations: 55.36 kB / 1.007 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.976e-06/0.008586, allocations: 0 / 1.007 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.008605, allocations: 8.5 kB / 1.007 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/0.008606, allocations: 0 / 1.007 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of Templates: time 0.003243/0.01185, allocations: 164.1 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.375111177563667]