Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.0008904/0.0008904, 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.0008924/0.0008924, 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.9262/0.9262, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.438/2.438, allocations: 438.1 MB / 0.682 GB, free: 14.13 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.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.73e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001374/0.001401, allocations: 0.729 MB / 0.8905 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007646/0.002166, allocations: 0.847 MB / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.002205, allocations: 0 / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.002236, allocations: 3.938 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.002295, allocations: 7.938 kB / 0.8914 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 8.451e-05/0.002379, allocations: 15.98 kB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.002452, allocations: 55.83 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.261e-05/0.002525, allocations: 4 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/0.002598, allocations: 23.92 kB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.609e-05/0.002634, allocations: 15.97 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.002651, allocations: 4 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.002659, allocations: 4 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.002674, allocations: 4 kB / 0.8915 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.002696, allocations: 15.92 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.668e-05/0.002773, allocations: 39.83 kB / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.002776, allocations: 0 / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.162e-06/0.002777, allocations: 4 kB / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.002781, allocations: 0 / 0.8915 GB, free: 7.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003579/0.003139, allocations: 380.5 kB / 0.8919 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.003179, allocations: 12.56 kB / 0.8919 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.003205, allocations: 8.891 kB / 0.8919 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.473e-05/0.00327, allocations: 112.6 kB / 0.892 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.003278, allocations: 384 / 0.892 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.003287, allocations: 8.375 kB / 0.892 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.003402, allocations: 62.94 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.003409, allocations: 4.188 kB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.003416, allocations: 384 / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.003422, allocations: 384 / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.312e-05/0.003445, allocations: 15.86 kB / 0.8921 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.003679, allocations: 244.4 kB / 0.8924 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.16e-05/0.00373, allocations: 35.12 kB / 0.8924 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.003746, allocations: 11.69 kB / 0.8924 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.003761, allocations: 0 / 0.8924 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.003782, allocations: 41.41 kB / 0.8924 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.003782, allocations: 0 / 0.8924 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001222/0.003905, allocations: 49.64 kB / 0.8925 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.003933, allocations: 51.41 kB / 0.8925 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.003999, allocations: 169.9 kB / 0.8927 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.00401, allocations: 25.7 kB / 0.8927 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.004051, allocations: 134.8 kB / 0.8929 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.004068, allocations: 15.91 kB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.004093, allocations: 15.38 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.004203, allocations: 0.4884 MB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.004214, allocations: 0 / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.004226, allocations: 7.938 kB / 0.8934 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.00425, allocations: 15.95 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004251, allocations: 4 kB / 0.8934 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.271e-05/0.004304, allocations: 49.67 kB / 0.8934 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.004313, allocations: 4 kB / 0.8934 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004317, allocations: 0 / 0.8934 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.004331, allocations: 3.938 kB / 0.8934 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.004391, allocations: 11.98 kB / 0.8935 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.004393, allocations: 0 / 0.8935 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.004414, allocations: 4 kB / 0.8935 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.004418, allocations: 4 kB / 0.8935 GB, free: 5.734 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 (3): * Single equations (assignments): 3 * 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.336e-05/0.004472, allocations: 164.5 kB / 0.8936 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.004487, allocations: 15.94 kB / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/0.004558, allocations: 45.69 kB / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.00456, allocations: 3.938 kB / 0.8937 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.004562, allocations: 0 / 0.8937 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.004564, allocations: 0 / 0.8937 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.399e-05/0.004648, allocations: 105.2 kB / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004648, allocations: 0 / 0.8938 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.004676, allocations: 11.98 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004677, allocations: 0 / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.004681, allocations: 0 / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.004682, allocations: 8 kB / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.004683, allocations: 0 / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.481e-05/0.004767, allocations: 207.8 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.004772, allocations: 0 / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-06/0.004779, allocations: 0 / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.004814, allocations: 7.984 kB / 0.894 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.004842, allocations: 11.94 kB / 0.894 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.004844, allocations: 0 / 0.894 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.004876, allocations: 127.2 kB / 0.8941 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004876, allocations: 0 / 0.8941 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001308/0.005007, allocations: 12 kB / 0.8941 GB, free: 4.957 MB / 0.8542 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 (3): * Single equations (assignments): 3 * 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.583e-05/0.005073, allocations: 91.25 kB / 0.8942 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.698e-05/0.00513, allocations: 23.61 kB / 0.8943 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005131, allocations: 0 / 0.8943 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.005148, allocations: 11.69 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.00532, allocations: 15.98 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.005515, allocations: 126.3 kB / 0.8944 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.827e-05/0.005543, allocations: 55.36 kB / 0.8945 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.00556, allocations: 3.984 kB / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.005605, allocations: 70.2 kB / 0.8945 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.005606, allocations: 0 / 0.8945 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.001997/0.007603, allocations: 0.8152 MB / 0.8953 GB, free: 3.695 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.264175669755787]