Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.0009631/0.0009631, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001052/0.001052, allocations: 170 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.9534/0.9534, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.392/2.392, 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.495e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00129/0.001315, allocations: 0.6068 MB / 0.8904 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 4.864e-05/0.001364, allocations: 3.984 kB / 0.8904 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.001391, allocations: 3.938 kB / 0.8904 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.001417, allocations: 0 / 0.8904 GB, free: 9.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.671e-05/0.001453, allocations: 3.938 kB / 0.8904 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.423e-05/0.001488, allocations: 4 kB / 0.8904 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.001542, allocations: 3.984 kB / 0.8904 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.001583, allocations: 4 kB / 0.8904 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.001616, allocations: 0 / 0.8904 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.281e-05/0.001639, allocations: 0 / 0.8904 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.001656, allocations: 4 kB / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-06/0.00166, allocations: 0 / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.001675, allocations: 0 / 0.8904 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.001704, allocations: 4 kB / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.484e-05/0.001769, allocations: 0 / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.001771, allocations: 0 / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.123e-06/0.001772, allocations: 0 / 0.8904 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.001777, allocations: 0 / 0.8904 GB, free: 9.066 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.000267/0.002044, allocations: 348.7 kB / 0.8907 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.002089, allocations: 8.625 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.002113, allocations: 4.938 kB / 0.8908 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/0.002208, allocations: 112.6 kB / 0.8909 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.002219, allocations: 384 / 0.8909 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.002225, allocations: 384 / 0.8909 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.893e-05/0.002293, allocations: 30.27 kB / 0.8909 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.002302, allocations: 192 / 0.8909 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.002308, allocations: 4.312 kB / 0.8909 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.002314, allocations: 384 / 0.8909 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-06/0.002323, allocations: 3.938 kB / 0.8909 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.002619, allocations: 466.8 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.397e-05/0.002693, allocations: 265.5 kB / 0.8916 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.002725, allocations: 138.8 kB / 0.8917 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.002753, allocations: 119.2 kB / 0.8918 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.002868, allocations: 156.6 kB / 0.892 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.002868, allocations: 0 / 0.892 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.741e-05/0.002916, allocations: 29.64 kB / 0.892 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.002964, allocations: 170.6 kB / 0.8922 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.00303, allocations: 157.9 kB / 0.8923 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.003036, allocations: 25.7 kB / 0.8924 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.003072, allocations: 126.9 kB / 0.8925 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-07/0.003073, allocations: 128 / 0.8925 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.003089, allocations: 19.38 kB / 0.8925 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.003206, allocations: 0.4923 MB / 0.893 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-06/0.00321, allocations: 3.938 kB / 0.893 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-06/0.003213, allocations: 0 / 0.893 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.003238, allocations: 119.2 kB / 0.8931 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/0.003259, allocations: 119.2 kB / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.164e-05/0.003291, allocations: 29.7 kB / 0.8932 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.003321, allocations: 123.2 kB / 0.8934 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.003347, allocations: 127.1 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.161e-05/0.003399, allocations: 246.3 kB / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.003551, allocations: 123.2 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.544e-05/0.003597, allocations: 242.3 kB / 0.8941 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.00364, allocations: 123.2 kB / 0.8942 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.003663, allocations: 123.1 kB / 0.8943 GB, free: 4.875 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 9.421e-05/0.003757, allocations: 391 kB / 0.8947 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.003799, allocations: 156.9 kB / 0.8948 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.003842, allocations: 151.8 kB / 0.895 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.226e-05/0.003894, allocations: 272 kB / 0.8952 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.017e-05/0.003944, allocations: 268.1 kB / 0.8955 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.291e-05/0.003997, allocations: 272 kB / 0.8957 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.004144, allocations: 488.5 kB / 0.8962 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.792e-05/0.004172, allocations: 144.9 kB / 0.8963 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.004205, allocations: 152.8 kB / 0.8965 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.415e-05/0.004259, allocations: 264.1 kB / 0.8967 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.004317, allocations: 272 kB / 0.897 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-05/0.004373, allocations: 268.1 kB / 0.8973 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003354/0.004709, allocations: 264.1 kB / 0.8975 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.004825, allocations: 452.3 kB / 0.8979 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.004863, allocations: 160.8 kB / 0.8981 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.004924, allocations: 268.1 kB / 0.8984 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.004976, allocations: 144.9 kB / 0.8985 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.005032, allocations: 272 kB / 0.8987 GB, free: 132 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.005085, allocations: 152.8 kB / 0.8989 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.005119, allocations: 123.2 kB / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.005119, allocations: 0 / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001487/0.005267, allocations: 0 / 0.899 GB, free: 15.85 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 9.933e-05/0.005367, allocations: 218.4 kB / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 3.086e-05/0.005398, allocations: 7.938 kB / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005399, allocations: 0 / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.0054, allocations: 4.094 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.005675, allocations: 0.7062 MB / 0.8999 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/0.005848, allocations: 196.7 kB / 0.9001 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.005876, allocations: 55.3 kB / 0.9002 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.493e-06/0.005878, allocations: 0 / 0.9002 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.005904, allocations: 74.19 kB / 0.9002 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of SimCode: time 4e-07/0.005905, allocations: 0 / 0.9002 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of Templates: time 0.001212/0.007116, allocations: 164.7 kB / 0.9004 GB, free: 14.37 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_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.178436722140759]