Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001024/0.001024, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001451/0.001451, allocations: 165 kB / 23.82 MB, free: 0.7383 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/1, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.778/1.778, allocations: 359 MB / 0.6052 GB, free: 11 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.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.422e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00127/0.001294, allocations: 0.677 MB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008/0.002094, allocations: 0.8632 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.002124, allocations: 0.8438 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.002151, allocations: 4 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.002209, allocations: 4.688 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.002381, allocations: 12.73 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.002442, allocations: 23.92 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.002523, allocations: 4.547 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.002588, allocations: 15.92 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/0.002619, allocations: 9.25 kB / 0.7887 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.002635, allocations: 4 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.935e-05/0.002674, allocations: 7.938 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.002687, allocations: 5.422 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.002704, allocations: 4 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.002803, allocations: 23.91 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002805, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002806, allocations: 1.156 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.00281, allocations: 0 / 0.7888 GB, free: 10.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000308/0.003118, allocations: 356.6 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.003154, allocations: 12.64 kB / 0.7891 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.003239, allocations: 10.3 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.003312, allocations: 116.6 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.003321, allocations: 384 / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.003331, allocations: 4.359 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.003435, allocations: 51.98 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003442, allocations: 192 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.00345, allocations: 384 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.003456, allocations: 1.312 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.01e-05/0.003486, allocations: 15.92 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.003754, allocations: 244.9 kB / 0.7896 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.003803, allocations: 27.06 kB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.003825, allocations: 21.34 kB / 0.7896 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.003845, allocations: 3.984 kB / 0.7896 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.003866, allocations: 33.39 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.003867, allocations: 0 / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.003998, allocations: 50.81 kB / 0.7897 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.004024, allocations: 55.41 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.004088, allocations: 157.9 kB / 0.7899 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.004099, allocations: 32.61 kB / 0.7899 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.004139, allocations: 130.9 kB / 0.7901 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.004157, allocations: 7.953 kB / 0.7901 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.004181, allocations: 15.38 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.004296, allocations: 0.4884 MB / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.00431, allocations: 4 kB / 0.7906 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-06/0.004318, allocations: 0 / 0.7906 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.699e-05/0.004345, allocations: 16.41 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004347, allocations: 0 / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.371e-05/0.004401, allocations: 43.3 kB / 0.7906 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.004416, allocations: 4 kB / 0.7906 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.004421, allocations: 3.938 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.004434, allocations: 3.984 kB / 0.7906 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.004498, allocations: 5.156 kB / 0.7906 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.004502, allocations: 0 / 0.7906 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.004518, allocations: 5.125 kB / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.004523, allocations: 0 / 0.7906 GB, free: 8.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 (2): * Single equations (assignments): 2 * 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 5.986e-05/0.004583, allocations: 156.6 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.004596, allocations: 5.734 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-05/0.004687, allocations: 48.89 kB / 0.7908 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.00469, allocations: 3.984 kB / 0.7908 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.004693, allocations: 0 / 0.7908 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.004696, allocations: 1.188 kB / 0.7908 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.678e-05/0.004782, allocations: 116.6 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004783, allocations: 0 / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.437e-05/0.004807, allocations: 12.55 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.004809, allocations: 0 / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.004815, allocations: 1.562 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.004817, allocations: 3.938 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.004817, allocations: 0 / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.456e-05/0.004902, allocations: 189.7 kB / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-06/0.004907, allocations: 0 / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-06/0.004916, allocations: 0 / 0.7912 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/0.004946, allocations: 12.06 kB / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.004977, allocations: 0 / 0.7912 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.004981, allocations: 8.875 kB / 0.7912 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.005012, allocations: 127.1 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005012, allocations: 0.5312 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001341/0.005146, allocations: 4 kB / 0.7913 GB, free: 7.914 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 (2): * Single equations (assignments): 2 * 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 6.549e-05/0.005212, allocations: 96.47 kB / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.312e-05/0.005285, allocations: 20.98 kB / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005286, allocations: 0 / 0.7914 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.005302, allocations: 11.69 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.005475, allocations: 11.47 kB / 0.7914 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.005711, allocations: 122.2 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.005742, allocations: 56.17 kB / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.422e-05/0.005757, allocations: 0 / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.005781, allocations: 9.438 kB / 0.7916 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.005782, allocations: 0 / 0.7916 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.00188/0.007662, allocations: 0.4928 MB / 0.7921 GB, free: 7.066 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.089692385867238]