Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001026/0.001026, 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.0009735/0.0009735, allocations: 165 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.9685/0.9685, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.825/1.825, allocations: 359 MB / 0.6052 GB, free: 11.04 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.464e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001855/0.00189, allocations: 0.72 MB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002916, allocations: 0.8515 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.002952, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.002982, allocations: 1.219 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.00305, allocations: 7.875 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.003152, allocations: 15.98 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.003242, allocations: 40.58 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.003346, allocations: 17.16 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.003431, allocations: 23.92 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.00348, allocations: 11.98 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.003505, allocations: 4 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.003516, allocations: 4.688 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.003535, allocations: 12.89 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.003559, allocations: 7.938 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.003649, allocations: 39.83 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.003653, allocations: 0.6562 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.034e-06/0.003655, allocations: 3.984 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.00366, allocations: 3.438 kB / 0.7889 GB, free: 10.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004028/0.004063, allocations: 372.6 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.004106, allocations: 8.031 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.004148, allocations: 12.88 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/0.004245, allocations: 120.5 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.004264, allocations: 4.375 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.004275, allocations: 4.375 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.004435, allocations: 63.66 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004443, allocations: 192 / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.004452, allocations: 2.031 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.004461, allocations: 4.375 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.22e-05/0.004503, allocations: 15.86 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.004814, allocations: 255.9 kB / 0.7897 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.962e-05/0.004893, allocations: 32.03 kB / 0.7897 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.004922, allocations: 15.69 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.004939, allocations: 0.9688 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.004963, allocations: 37.47 kB / 0.7898 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.004964, allocations: 3.938 kB / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001745/0.005139, allocations: 46.98 kB / 0.7898 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.005179, allocations: 59.39 kB / 0.7899 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.005261, allocations: 165.9 kB / 0.7901 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.005274, allocations: 27.3 kB / 0.7901 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.005333, allocations: 134.8 kB / 0.7902 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.005352, allocations: 7.953 kB / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.005387, allocations: 23.38 kB / 0.7902 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.005509, allocations: 497.1 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.005533, allocations: 8 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.005549, allocations: 0 / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.005594, allocations: 25.19 kB / 0.7907 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005597, allocations: 0 / 0.7907 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.663e-05/0.005683, allocations: 45.64 kB / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.005698, allocations: 11.94 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005703, allocations: 0.5312 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.005715, allocations: 0 / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.005813, allocations: 12.64 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.005817, allocations: 0.5312 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.00585, allocations: 4.75 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.005857, allocations: 0 / 0.7908 GB, free: 8.492 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 (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 6.807e-05/0.005925, allocations: 161.5 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.005949, allocations: 3.938 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.006073, allocations: 62.42 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.006077, allocations: 4.031 kB / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.006081, allocations: 1.375 kB / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006084, allocations: 0 / 0.791 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.006208, allocations: 128.5 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.00621, allocations: 1.25 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.006264, allocations: 11.98 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.006267, allocations: 0 / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.006275, allocations: 0.5938 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.006277, allocations: 3.938 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006279, allocations: 4.781 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.00641, allocations: 199.9 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.006416, allocations: 0.8125 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.006431, allocations: 7.984 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.006491, allocations: 8.875 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.006533, allocations: 7.984 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006537, allocations: 1.219 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.006585, allocations: 131.5 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006585, allocations: 0 / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002127/0.006797, allocations: 8 kB / 0.7915 GB, free: 7.695 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 (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 0.0001083/0.006906, allocations: 102.3 kB / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.00701, allocations: 15.69 kB / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007012, allocations: 3.938 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.00704, allocations: 15.67 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.007309, allocations: 15.94 kB / 0.7917 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.007623, allocations: 129.2 kB / 0.7918 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.007665, allocations: 59.34 kB / 0.7919 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.00769, allocations: 0 / 0.7919 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.007725, allocations: 12.5 kB / 0.7919 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.007726, allocations: 0 / 0.7919 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of Templates: time 0.003015/0.01074, allocations: 0.7886 MB / 0.7926 GB, free: 6.539 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.979639102704823]