Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009904/0.0009904, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009051/0.0009051, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9056/0.9056, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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 1.831/1.831, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.3e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001147/0.00117, allocations: 0.5948 MB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.937e-05/0.001219, allocations: 4.188 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.001244, allocations: 0 / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.00127, allocations: 1.094 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.948e-05/0.001299, allocations: 0 / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.224e-05/0.001332, allocations: 0 / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.001392, allocations: 12.48 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.001433, allocations: 4.969 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.865e-05/0.001462, allocations: 0 / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.923e-05/0.001481, allocations: 0 / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.001499, allocations: 1.625 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-06/0.001503, allocations: 0 / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.001516, allocations: 4 kB / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.001534, allocations: 0 / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.041e-05/0.001595, allocations: 3.984 kB / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.001597, allocations: 1.219 kB / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.001597, allocations: 0 / 0.7878 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.001602, allocations: 0 / 0.7878 GB, free: 11.83 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.0002544/0.001856, allocations: 341.1 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.001895, allocations: 12.03 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.001927, allocations: 1.625 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.32e-05/0.002001, allocations: 105.5 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.00201, allocations: 384 / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.002019, allocations: 4.359 kB / 0.7882 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.451e-05/0.002084, allocations: 30.92 kB / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.00209, allocations: 1.781 kB / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.0021, allocations: 4.375 kB / 0.7882 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.002107, allocations: 384 / 0.7882 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.00212, allocations: 7.875 kB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.002378, allocations: 473.8 kB / 0.7887 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/0.002462, allocations: 277.3 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.002494, allocations: 126.9 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.002518, allocations: 119.2 kB / 0.7892 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.002558, allocations: 160.5 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.002559, allocations: 0 / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.59e-05/0.002615, allocations: 29.64 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.00267, allocations: 170.6 kB / 0.7895 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.002747, allocations: 154.7 kB / 0.7897 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.002755, allocations: 25.7 kB / 0.7897 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.002791, allocations: 128.5 kB / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.002793, allocations: 0 / 0.7898 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.782e-05/0.002811, allocations: 19.38 kB / 0.7899 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.002929, allocations: 0.4884 MB / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-06/0.002934, allocations: 0 / 0.7903 GB, free: 9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.002939, allocations: 4.844 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.002972, allocations: 119.2 kB / 0.7905 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.69e-05/0.002999, allocations: 120.2 kB / 0.7906 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.703e-05/0.003036, allocations: 34.31 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.003073, allocations: 123.2 kB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.003106, allocations: 124.5 kB / 0.7908 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.286e-05/0.003168, allocations: 246.3 kB / 0.7911 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.849e-05/0.003197, allocations: 119.3 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003711/0.003568, allocations: 254.3 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.003617, allocations: 124 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.003643, allocations: 119.2 kB / 0.7917 GB, free: 7.633 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.0001092/0.003752, allocations: 396 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.003796, allocations: 149.2 kB / 0.7922 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.003851, allocations: 152.7 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.398e-05/0.003915, allocations: 276 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.856e-05/0.003974, allocations: 269.8 kB / 0.7928 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.326e-05/0.004037, allocations: 268 kB / 0.7931 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.004196, allocations: 495.9 kB / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-05/0.00423, allocations: 148.9 kB / 0.7937 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.004272, allocations: 152.8 kB / 0.7939 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.158e-05/0.004334, allocations: 268.7 kB / 0.7941 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.004398, allocations: 268 kB / 0.7944 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.135e-05/0.004459, allocations: 272.6 kB / 0.7946 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.697e-05/0.004526, allocations: 268.7 kB / 0.7949 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.004668, allocations: 448 kB / 0.7953 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.004711, allocations: 153.8 kB / 0.7955 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.004786, allocations: 272.1 kB / 0.7957 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.004836, allocations: 148.8 kB / 0.7959 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.004909, allocations: 272.5 kB / 0.7961 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.004945, allocations: 146.5 kB / 0.7963 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.004987, allocations: 123.2 kB / 0.7964 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.004987, allocations: 0 / 0.7964 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001534/0.00514, allocations: 1.125 kB / 0.7964 GB, free: 2.598 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.0001038/0.005244, allocations: 218.3 kB / 0.7966 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.64e-05/0.005291, allocations: 3.938 kB / 0.7966 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005292, allocations: 0.875 kB / 0.7966 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.005295, allocations: 7.984 kB / 0.7966 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.005602, allocations: 0.6992 MB / 0.7973 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.005836, allocations: 212.6 kB / 0.7975 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.005868, allocations: 52.3 kB / 0.7975 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.354e-06/0.00587, allocations: 0 / 0.7975 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.005881, allocations: 9.719 kB / 0.7976 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.005882, allocations: 0 / 0.7976 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of Templates: time 0.001427/0.007309, allocations: 178 kB / 0.7977 GB, free: 1.18 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.961121337953955]