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.001362/0.001362, allocations: 80.28 kB / 19.18 MB, free: 2.531 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.001534/0.001534, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.514/1.514, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3/3, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.75e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001626/0.001664, allocations: 0.5435 MB / 0.982 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 3.664e-05/0.001701, allocations: 3.938 kB / 0.982 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.001727, allocations: 0 / 0.982 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.001753, allocations: 0 / 0.982 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.668e-05/0.001779, allocations: 3.938 kB / 0.982 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 2.773e-05/0.001807, allocations: 0 / 0.982 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.001862, allocations: 4 kB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.001919, allocations: 0 / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.901e-05/0.001948, allocations: 3.984 kB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.118e-05/0.001969, allocations: 0 / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.001988, allocations: 4 kB / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-06/0.001991, allocations: 0 / 0.982 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.002003, allocations: 4 kB / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.002022, allocations: 4 kB / 0.982 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 5.464e-05/0.002077, allocations: 3.984 kB / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002079, allocations: 3.938 kB / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002079, allocations: 0 / 0.982 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.002086, allocations: 0 / 0.982 GB, free: 11.36 MB / 0.9356 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.0002955/0.002381, allocations: 238.4 kB / 0.9822 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.002423, allocations: 12.03 kB / 0.9822 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.002447, allocations: 0.9375 kB / 0.9823 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.002559, allocations: 117.7 kB / 0.9824 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.002572, allocations: 384 / 0.9824 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.002582, allocations: 384 / 0.9824 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.546e-05/0.002668, allocations: 34.2 kB / 0.9824 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002675, allocations: 192 / 0.9824 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.002683, allocations: 384 / 0.9824 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.002687, allocations: 384 / 0.9824 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.002706, allocations: 7.938 kB / 0.9824 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.003048, allocations: 335.1 kB / 0.9827 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.003155, allocations: 165.1 kB / 0.9829 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.003199, allocations: 84.14 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.003235, allocations: 75.28 kB / 0.983 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.003298, allocations: 113.8 kB / 0.9831 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.0033, allocations: 0 / 0.9831 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.737e-05/0.003377, allocations: 33.58 kB / 0.9832 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.003455, allocations: 126.7 kB / 0.9833 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.003551, allocations: 97.86 kB / 0.9834 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.003567, allocations: 25.7 kB / 0.9834 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.003625, allocations: 84.12 kB / 0.9835 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.003627, allocations: 0 / 0.9835 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.003654, allocations: 17.84 kB / 0.9835 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.003802, allocations: 310.8 kB / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-06/0.003808, allocations: 0 / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-06/0.003811, allocations: 0 / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.003845, allocations: 75.28 kB / 0.9839 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.852e-05/0.003883, allocations: 75.28 kB / 0.9839 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.753e-05/0.003941, allocations: 33.64 kB / 0.984 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.003987, allocations: 85.62 kB / 0.9841 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-05/0.004037, allocations: 87.2 kB / 0.9841 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.728e-05/0.004115, allocations: 150.6 kB / 0.9843 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.811e-05/0.004153, allocations: 83.2 kB / 0.9844 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-05/0.004226, allocations: 154.6 kB / 0.9845 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.004302, allocations: 83.22 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.004338, allocations: 75.28 kB / 0.9847 GB, free: 8.453 MB / 0.9356 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.000138/0.004476, allocations: 264.4 kB / 0.9849 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.004543, allocations: 105 kB / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.544e-05/0.004608, allocations: 119.8 kB / 0.9851 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.012e-05/0.004688, allocations: 184.2 kB / 0.9853 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-05/0.004768, allocations: 180.2 kB / 0.9855 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.595e-05/0.004854, allocations: 176.5 kB / 0.9857 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.005101, allocations: 356.9 kB / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/0.005151, allocations: 113 kB / 0.9861 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.005202, allocations: 101 kB / 0.9862 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-05/0.005282, allocations: 184.2 kB / 0.9864 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.985e-05/0.005372, allocations: 180.2 kB / 0.9865 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.685e-05/0.005459, allocations: 192.2 kB / 0.9867 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.829e-05/0.005547, allocations: 180.2 kB / 0.9869 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.005709, allocations: 299.8 kB / 0.9872 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.005758, allocations: 101 kB / 0.9873 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.005854, allocations: 192.2 kB / 0.9875 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.005943, allocations: 108.9 kB / 0.9876 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.766e-05/0.00603, allocations: 184.3 kB / 0.9877 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.006085, allocations: 104.9 kB / 0.9878 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.006123, allocations: 75.28 kB / 0.9879 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.006124, allocations: 0 / 0.9879 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002434/0.006367, allocations: 0 / 0.9879 GB, free: 4.941 MB / 0.9356 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.000152/0.006519, allocations: 175 kB / 0.9881 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.356e-05/0.006562, allocations: 4 kB / 0.9881 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006564, allocations: 0 / 0.9881 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.006565, allocations: 96 / 0.9881 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.006991, allocations: 463.6 kB / 0.9885 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.007234, allocations: 156.1 kB / 0.9887 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.007291, allocations: 59.34 kB / 0.9887 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.764e-06/0.007293, allocations: 0 / 0.9887 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.007306, allocations: 8.5 kB / 0.9887 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.007306, allocations: 0 / 0.9887 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of Templates: time 0.002148/0.009455, allocations: 155.5 kB / 0.9889 GB, free: 3.887 MB / 0.9356 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.383276488631964]