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.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.002101/0.002101, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.00263/0.00263, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.531/1.531, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.761/2.761, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.673e-06/1.673e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.552e-05, allocations: 3.297 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001549/0.001574, allocations: 0.5731 MB / 0.7869 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 3.923e-05/0.001613, allocations: 9.531 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.001636, allocations: 0 / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.001655, allocations: 0 / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.594e-05/0.001681, allocations: 0 / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.946e-05/0.00171, allocations: 0 / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.001756, allocations: 0.75 kB / 0.787 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.001794, allocations: 4 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.00182, allocations: 4.547 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.741e-05/0.001837, allocations: 0.9062 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.001857, allocations: 0 / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-06/0.001861, allocations: 0 / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.001871, allocations: 0.9375 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.001892, allocations: 4 kB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.111e-05/0.001943, allocations: 5.344 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.001944, allocations: 0 / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.8e-07/0.001945, allocations: 0 / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.001948, allocations: 0 / 0.787 GB, free: 12.19 MB / 0.7448 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.0003061/0.002254, allocations: 245.3 kB / 0.7872 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.00229, allocations: 8.031 kB / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.002322, allocations: 4.938 kB / 0.7872 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.002435, allocations: 101.8 kB / 0.7873 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.002447, allocations: 4.312 kB / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.002454, allocations: 384 / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.256e-05/0.002536, allocations: 34.27 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.002542, allocations: 1.438 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.00255, allocations: 384 / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.002553, allocations: 384 / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.002576, allocations: 3.938 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.002914, allocations: 335.8 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.003034, allocations: 174.1 kB / 0.7878 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.003084, allocations: 80.14 kB / 0.7879 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.003134, allocations: 75.28 kB / 0.788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/0.003206, allocations: 110.4 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.003206, allocations: 1.812 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.826e-05/0.003284, allocations: 33.58 kB / 0.7881 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.003369, allocations: 126.7 kB / 0.7883 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.003468, allocations: 101.8 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.003486, allocations: 27.23 kB / 0.7884 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.003541, allocations: 80.14 kB / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.003542, allocations: 0 / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.003566, allocations: 9.719 kB / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005434/0.00411, allocations: 316.7 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.004114, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-06/0.004117, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.00416, allocations: 75.28 kB / 0.7888 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-05/0.0042, allocations: 75.28 kB / 0.7889 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.63e-05/0.004256, allocations: 32.05 kB / 0.7889 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.004308, allocations: 83.22 kB / 0.789 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.975e-05/0.004358, allocations: 87.2 kB / 0.7891 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.06e-05/0.004448, allocations: 154.6 kB / 0.7892 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.004495, allocations: 79.22 kB / 0.7893 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.819e-05/0.004574, allocations: 151.2 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.004667, allocations: 83.75 kB / 0.7895 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.004707, allocations: 79.22 kB / 0.7896 GB, free: 9.305 MB / 0.7448 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.0001586/0.004866, allocations: 261.1 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/0.004947, allocations: 109.5 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.005024, allocations: 117.5 kB / 0.7901 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/0.005127, allocations: 180.5 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.933e-05/0.005226, allocations: 180.2 kB / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/0.005328, allocations: 180.3 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.005641, allocations: 360.8 kB / 0.7909 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.627e-05/0.005697, allocations: 105.5 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.005753, allocations: 101.7 kB / 0.7911 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.443e-05/0.005847, allocations: 184.2 kB / 0.7913 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.695e-05/0.005944, allocations: 184.9 kB / 0.7915 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.071e-05/0.006035, allocations: 180.2 kB / 0.7917 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001015/0.006136, allocations: 188.7 kB / 0.7919 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.006319, allocations: 300.5 kB / 0.7921 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.006378, allocations: 105 kB / 0.7922 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.006479, allocations: 181.6 kB / 0.7924 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.006586, allocations: 116.9 kB / 0.7925 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.006688, allocations: 180.3 kB / 0.7927 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.006743, allocations: 104.9 kB / 0.7928 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.006792, allocations: 80.42 kB / 0.7929 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006792, allocations: 0 / 0.7929 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000425/0.007217, allocations: 4.578 kB / 0.7929 GB, free: 5.793 MB / 0.7448 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.0001381/0.007355, allocations: 171.2 kB / 0.793 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 3.521e-05/0.00739, allocations: 4.844 kB / 0.793 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007392, allocations: 0 / 0.793 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.007394, allocations: 1.844 kB / 0.793 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.007975, allocations: 461.3 kB / 0.7935 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.008208, allocations: 155 kB / 0.7936 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.383e-05/0.008272, allocations: 59.34 kB / 0.7937 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.473e-06/0.008273, allocations: 0 / 0.7937 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.008289, allocations: 9.281 kB / 0.7937 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.00829, allocations: 0 / 0.7937 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.001929/0.01022, allocations: 162 kB / 0.7939 GB, free: 4.742 MB / 0.7448 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.832929863012396]