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.002178/0.002178, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.00225/0.00225, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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 2.94/2.94, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 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 2.545e-06/2.545e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.638e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00207/0.002106, allocations: 0.5655 MB / 0.8114 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 5.062e-05/0.002157, allocations: 0.8438 kB / 0.8114 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.002187, allocations: 0 / 0.8114 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.002217, allocations: 0 / 0.8114 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.00225, allocations: 2.375 kB / 0.8114 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.654e-05/0.002286, allocations: 0 / 0.8114 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.002356, allocations: 8 kB / 0.8114 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.0024, allocations: 0 / 0.8114 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.002437, allocations: 3.984 kB / 0.8114 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.352e-05/0.00246, allocations: 0 / 0.8114 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.002475, allocations: 1.344 kB / 0.8114 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.002478, allocations: 0 / 0.8114 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.002491, allocations: 4 kB / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.002514, allocations: 0 / 0.8114 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.273e-05/0.002577, allocations: 5.531 kB / 0.8114 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002579, allocations: 3.938 kB / 0.8114 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.32e-07/0.002579, allocations: 0 / 0.8114 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.002584, allocations: 0 / 0.8114 GB, free: 1.539 MB / 0.7605 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.0004116/0.002996, allocations: 242.9 kB / 0.8116 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.003041, allocations: 12.03 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.003089, allocations: 1.625 kB / 0.8116 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.003223, allocations: 106.3 kB / 0.8117 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.003238, allocations: 384 / 0.8117 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003248, allocations: 5.688 kB / 0.8117 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.75e-05/0.003335, allocations: 26.27 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.003345, allocations: 192 / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.003354, allocations: 0.9062 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.00336, allocations: 1.75 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.003389, allocations: 11.94 kB / 0.8118 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.003785, allocations: 331.1 kB / 0.8121 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.003923, allocations: 165.1 kB / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.003979, allocations: 85.3 kB / 0.8123 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/0.004038, allocations: 75.28 kB / 0.8124 GB, free: 404 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.902e-05/0.004127, allocations: 113.8 kB / 0.8125 GB, free: 280 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.004128, allocations: 1.156 kB / 0.8125 GB, free: 280 kB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 0.0001047/0.004233, allocations: 33.58 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.004333, allocations: 126.7 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.004468, allocations: 98.94 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.004486, allocations: 25.7 kB / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.00455, allocations: 80.98 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.004553, allocations: 0 / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.004597, allocations: 18.94 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.004776, allocations: 310.8 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-06/0.004782, allocations: 0 / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.004787, allocations: 1.312 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.407e-05/0.004841, allocations: 75.28 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4e-05/0.004881, allocations: 79.22 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.669e-05/0.004948, allocations: 33.64 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.005003, allocations: 80.88 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-05/0.005053, allocations: 87.2 kB / 0.8135 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.976e-05/0.005153, allocations: 154.5 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.005197, allocations: 75.28 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.033e-05/0.005278, allocations: 161.3 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.375e-05/0.005371, allocations: 79.22 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.005413, allocations: 75.28 kB / 0.814 GB, free: 14.65 MB / 0.7761 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.0001633/0.005577, allocations: 260.4 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/0.005659, allocations: 108.9 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.243e-05/0.005731, allocations: 111.9 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001127/0.005844, allocations: 184.5 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-05/0.005942, allocations: 180.7 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.44e-05/0.006037, allocations: 180.8 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.006414, allocations: 358.7 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.255e-05/0.006477, allocations: 109 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.006544, allocations: 108.9 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.006647, allocations: 176.3 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.006753, allocations: 180.2 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001015/0.006855, allocations: 189.8 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.831e-05/0.006953, allocations: 176.3 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.007163, allocations: 303.8 kB / 0.8166 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.007229, allocations: 109 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.007332, allocations: 180.2 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.007434, allocations: 109.8 kB / 0.8169 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.007543, allocations: 184.2 kB / 0.8171 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.007604, allocations: 105.8 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.007654, allocations: 79.27 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007654, allocations: 0.8438 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002905/0.007944, allocations: 7.953 kB / 0.8173 GB, free: 11.14 MB / 0.7761 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.0001624/0.008107, allocations: 167.8 kB / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.348e-05/0.00815, allocations: 4 kB / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.008153, allocations: 0.8438 kB / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.008154, allocations: 3.938 kB / 0.8175 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.008721, allocations: 458.6 kB / 0.8179 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.009014, allocations: 155 kB / 0.818 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.834e-05/0.009083, allocations: 63.2 kB / 0.8181 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.024e-06/0.009085, allocations: 0 / 0.8181 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.009108, allocations: 8.5 kB / 0.8181 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of SimCode: time 1.202e-06/0.009109, allocations: 0 / 0.8181 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.002269/0.01138, allocations: 171.5 kB / 0.8183 GB, free: 10.08 MB / 0.7761 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: 7.881529939942993]