Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001437/0.001437, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001591/0.001591, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9385/0.9385, allocations: 177.2 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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 2.334/2.334, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.185e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001134/0.001156, allocations: 0.5633 MB / 0.8903 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 4.386e-05/0.0012, allocations: 0 / 0.8903 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.001226, allocations: 0 / 0.8903 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.001249, allocations: 0 / 0.8903 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.853e-05/0.001277, allocations: 3.938 kB / 0.8903 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.065e-05/0.001308, allocations: 3.984 kB / 0.8903 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.001356, allocations: 7.984 kB / 0.8903 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.001393, allocations: 4 kB / 0.8903 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.001421, allocations: 0 / 0.8903 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.11e-05/0.001442, allocations: 0 / 0.8903 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.001459, allocations: 0 / 0.8903 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.417e-06/0.001462, allocations: 4 kB / 0.8903 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.001477, allocations: 0 / 0.8903 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.001493, allocations: 7.938 kB / 0.8903 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.017e-05/0.001543, allocations: 0 / 0.8903 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.001545, allocations: 0 / 0.8903 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.31e-07/0.001546, allocations: 0 / 0.8903 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.001548, allocations: 0 / 0.8903 GB, free: 9.137 MB / 0.8542 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.00022/0.001768, allocations: 348.7 kB / 0.8907 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.001805, allocations: 8.625 kB / 0.8907 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.001824, allocations: 4.938 kB / 0.8907 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.712e-05/0.001891, allocations: 108.6 kB / 0.8908 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.001899, allocations: 384 / 0.8908 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.001904, allocations: 384 / 0.8908 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.01e-05/0.001955, allocations: 30.27 kB / 0.8908 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-06/0.00196, allocations: 4.125 kB / 0.8908 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-06/0.001964, allocations: 384 / 0.8908 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.001969, allocations: 384 / 0.8908 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-06/0.001975, allocations: 3.938 kB / 0.8908 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.002194, allocations: 458.8 kB / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.11e-05/0.002275, allocations: 269.5 kB / 0.8915 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.002309, allocations: 138.8 kB / 0.8917 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.002336, allocations: 119.2 kB / 0.8918 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.002377, allocations: 160.6 kB / 0.8919 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.002378, allocations: 0 / 0.8919 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.397e-05/0.002422, allocations: 29.64 kB / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.002469, allocations: 174.6 kB / 0.8921 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.282e-05/0.002532, allocations: 153.9 kB / 0.8923 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.002539, allocations: 25.7 kB / 0.8923 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.002576, allocations: 126.9 kB / 0.8924 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.92e-07/0.002577, allocations: 0 / 0.8924 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.002595, allocations: 15.5 kB / 0.8924 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.002701, allocations: 0.4923 MB / 0.8929 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-06/0.002704, allocations: 7.875 kB / 0.8929 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-06/0.002708, allocations: 0 / 0.8929 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.002734, allocations: 119.2 kB / 0.893 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002264/0.002961, allocations: 119.2 kB / 0.8931 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.429e-05/0.002995, allocations: 29.7 kB / 0.8932 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.00303, allocations: 131.2 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.003056, allocations: 123.1 kB / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.573e-05/0.003112, allocations: 246.3 kB / 0.8937 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.573e-05/0.003138, allocations: 119.2 kB / 0.8938 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.666e-05/0.003184, allocations: 246.3 kB / 0.894 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.003229, allocations: 123.2 kB / 0.8941 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.003253, allocations: 123.1 kB / 0.8942 GB, free: 4.945 MB / 0.8542 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.0001037/0.003357, allocations: 391 kB / 0.8946 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.003397, allocations: 152.9 kB / 0.8948 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.003445, allocations: 151.9 kB / 0.8949 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.558e-05/0.003501, allocations: 272 kB / 0.8952 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.495e-05/0.003556, allocations: 268.1 kB / 0.8954 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/0.003609, allocations: 268 kB / 0.8957 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.003752, allocations: 484.5 kB / 0.8961 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/0.003783, allocations: 148.9 kB / 0.8963 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.003812, allocations: 148.8 kB / 0.8964 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.396e-05/0.003866, allocations: 268.1 kB / 0.8967 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/0.003927, allocations: 276 kB / 0.8969 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-05/0.003979, allocations: 264.1 kB / 0.8972 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.504e-05/0.004034, allocations: 272 kB / 0.8974 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.004143, allocations: 444.3 kB / 0.8979 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.004181, allocations: 160.8 kB / 0.898 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.004241, allocations: 268.1 kB / 0.8983 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.004293, allocations: 152.8 kB / 0.8984 GB, free: 488 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.00435, allocations: 264.1 kB / 0.8987 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.004383, allocations: 156.8 kB / 0.8988 GB, free: 52 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.004424, allocations: 119.2 kB / 0.8989 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004424, allocations: 0 / 0.8989 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00014/0.004564, allocations: 3.984 kB / 0.8989 GB, free: 15.93 MB / 0.8698 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 8.84e-05/0.004652, allocations: 218.4 kB / 0.8992 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 2.618e-05/0.004678, allocations: 0 / 0.8992 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.004679, allocations: 3.938 kB / 0.8992 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.00468, allocations: 0 / 0.8992 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.004958, allocations: 0.7063 MB / 0.8998 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001515/0.005109, allocations: 200.7 kB / 0.9 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.005138, allocations: 63.28 kB / 0.9001 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.734e-06/0.00514, allocations: 0 / 0.9001 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.005164, allocations: 66.2 kB / 0.9002 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/0.005165, allocations: 0 / 0.9002 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of Templates: time 0.001408/0.006573, allocations: 176.8 kB / 0.9003 GB, free: 14.44 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.056658891029656]