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.0009869/0.0009869, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009828/0.0009828, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9748/0.9748, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.89/1.89, 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.996e-06/2.996e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.002e-05/3.301e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001983/0.002016, allocations: 0.6042 MB / 0.7877 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 5.498e-05/0.002071, allocations: 9.219 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.002101, allocations: 0 / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.002133, allocations: 0 / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.184e-05/0.002165, allocations: 1.562 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-05/0.002199, allocations: 3.938 kB / 0.7877 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.555e-05/0.002265, allocations: 8 kB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.002316, allocations: 0 / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.002355, allocations: 2.25 kB / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.57e-05/0.002381, allocations: 0 / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.002398, allocations: 0 / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-06/0.002403, allocations: 4 kB / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.002418, allocations: 0 / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.002438, allocations: 0 / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.948e-05/0.002508, allocations: 1.969 kB / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.002511, allocations: 3.938 kB / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.002512, allocations: 0 / 0.7878 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.002518, allocations: 0 / 0.7878 GB, free: 11.84 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.0003073/0.002825, allocations: 344.4 kB / 0.7881 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.002872, allocations: 13.59 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.002906, allocations: 0.9375 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.417e-05/0.003, allocations: 104.6 kB / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.003013, allocations: 384 / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.003027, allocations: 6.125 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.786e-05/0.003105, allocations: 26.27 kB / 0.7882 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.003115, allocations: 192 / 0.7882 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.003125, allocations: 384 / 0.7882 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.003133, allocations: 4.312 kB / 0.7882 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.483e-05/0.003148, allocations: 13.02 kB / 0.7883 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.003465, allocations: 470.2 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.003573, allocations: 262.1 kB / 0.7889 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.003614, allocations: 126.9 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.003651, allocations: 128.2 kB / 0.7892 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.003709, allocations: 156.6 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.00371, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.862e-05/0.003789, allocations: 36.22 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.003859, allocations: 170.6 kB / 0.7895 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.004066, allocations: 153.9 kB / 0.7897 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.004078, allocations: 25.7 kB / 0.7897 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.004125, allocations: 126.9 kB / 0.7898 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.004127, allocations: 0 / 0.7898 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.004154, allocations: 20.09 kB / 0.7899 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.004303, allocations: 492.1 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.004311, allocations: 0.5312 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.004315, allocations: 5.594 kB / 0.7903 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.004357, allocations: 119.2 kB / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/0.004392, allocations: 123.2 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.343e-05/0.004455, allocations: 34.3 kB / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.004506, allocations: 123.8 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.063e-05/0.004547, allocations: 127.1 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.899e-05/0.004626, allocations: 247.3 kB / 0.7911 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.581e-05/0.004662, allocations: 123.2 kB / 0.7912 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-05/0.00473, allocations: 250.3 kB / 0.7914 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.004807, allocations: 120.3 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.00484, allocations: 119.2 kB / 0.7916 GB, free: 7.656 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.0001367/0.004976, allocations: 408.2 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.005042, allocations: 145.2 kB / 0.7922 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.005114, allocations: 151.8 kB / 0.7923 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.421e-05/0.005188, allocations: 272 kB / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-05/0.005265, allocations: 264.9 kB / 0.7928 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-05/0.00534, allocations: 276 kB / 0.7931 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.005565, allocations: 496.8 kB / 0.7936 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.061e-05/0.005605, allocations: 144.9 kB / 0.7937 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.005652, allocations: 154.1 kB / 0.7939 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.281e-05/0.005725, allocations: 272 kB / 0.7941 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.005798, allocations: 272 kB / 0.7944 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-05/0.00587, allocations: 272 kB / 0.7946 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.845e-05/0.005938, allocations: 264.9 kB / 0.7949 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.006095, allocations: 444 kB / 0.7953 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.006146, allocations: 161.8 kB / 0.7955 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.691e-05/0.006223, allocations: 264.1 kB / 0.7957 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.0063, allocations: 148.8 kB / 0.7959 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.006378, allocations: 277.4 kB / 0.7961 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.006415, allocations: 145.2 kB / 0.7963 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.006462, allocations: 119.2 kB / 0.7964 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006462, allocations: 1.375 kB / 0.7964 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003036/0.006766, allocations: 0 / 0.7964 GB, free: 2.617 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.0001638/0.00693, allocations: 217.4 kB / 0.7966 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.699e-05/0.006987, allocations: 7.938 kB / 0.7966 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006989, allocations: 0 / 0.7966 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.00699, allocations: 0 / 0.7966 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.007546, allocations: 0.7023 MB / 0.7973 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.007833, allocations: 212.6 kB / 0.7975 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.007873, allocations: 51.36 kB / 0.7975 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.006e-06/0.007876, allocations: 0.5 kB / 0.7975 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.007889, allocations: 10.44 kB / 0.7975 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/0.00789, allocations: 3.938 kB / 0.7975 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of Templates: time 0.001924/0.009814, allocations: 171.5 kB / 0.7977 GB, free: 1.199 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: 5.20688152173534]