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.001581/0.001581, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001356/0.001356, allocations: 177 kB / 24.07 MB, free: 448 kB / 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.009/1.009, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.148/2.148, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 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.815e-06/2.815e-06, allocations: 0 / 0.8795 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.416e-05, allocations: 4.844 kB / 0.8795 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00152/0.001554, allocations: 0.7222 MB / 0.8802 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000787/0.002341, allocations: 0.8482 MB / 0.881 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.002375, allocations: 0 / 0.881 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.002401, allocations: 4.562 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.874e-05/0.00247, allocations: 7.234 kB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.807e-05/0.002568, allocations: 15.98 kB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.002636, allocations: 43.84 kB / 0.8811 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.002717, allocations: 8 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.002792, allocations: 28.41 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.259e-05/0.002835, allocations: 19.91 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.002852, allocations: 5.438 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.002861, allocations: 4 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.002877, allocations: 4 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.002896, allocations: 12.73 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.798e-05/0.002974, allocations: 35.83 kB / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.002976, allocations: 1.344 kB / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.002977, allocations: 0 / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.00298, allocations: 0 / 0.8812 GB, free: 4.223 MB / 0.8386 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.0003183/0.003299, allocations: 377.9 kB / 0.8815 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.00333, allocations: 8.031 kB / 0.8816 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.003355, allocations: 4.938 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.328e-05/0.003439, allocations: 124.5 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.003448, allocations: 1.969 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.003456, allocations: 4.375 kB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.003572, allocations: 66.88 kB / 0.8817 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.003578, allocations: 1.656 kB / 0.8817 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.003584, allocations: 384 / 0.8817 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.003588, allocations: 384 / 0.8817 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.003611, allocations: 11.92 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.003836, allocations: 239.6 kB / 0.882 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.00389, allocations: 35.05 kB / 0.882 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.003907, allocations: 15.61 kB / 0.882 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.003921, allocations: 7.938 kB / 0.882 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.003941, allocations: 37.47 kB / 0.8821 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.003942, allocations: 0 / 0.8821 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001218/0.004064, allocations: 49.59 kB / 0.8821 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.00409, allocations: 51.41 kB / 0.8822 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/0.004155, allocations: 169.9 kB / 0.8823 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-06/0.004163, allocations: 29.7 kB / 0.8824 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.004207, allocations: 134.9 kB / 0.8825 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.004224, allocations: 7.906 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.004251, allocations: 19.38 kB / 0.8825 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.004362, allocations: 0.4961 MB / 0.883 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.00438, allocations: 0 / 0.883 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.004393, allocations: 8 kB / 0.883 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.004422, allocations: 15.69 kB / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004424, allocations: 0 / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.154e-05/0.004486, allocations: 45.69 kB / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.004496, allocations: 4 kB / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.004499, allocations: 0 / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.004508, allocations: 3.938 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.004579, allocations: 15.92 kB / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.004581, allocations: 0 / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.004605, allocations: 8 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.004611, allocations: 4 kB / 0.8831 GB, free: 2.059 MB / 0.8386 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.263e-05/0.004674, allocations: 152.6 kB / 0.8832 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.004694, allocations: 11.94 kB / 0.8833 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.004775, allocations: 49.69 kB / 0.8833 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.004779, allocations: 3.938 kB / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.00478, allocations: 0 / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.004782, allocations: 0 / 0.8833 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.332e-05/0.004875, allocations: 113.2 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.004876, allocations: 0 / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.004916, allocations: 11.98 kB / 0.8834 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004917, allocations: 0 / 0.8834 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.004922, allocations: 0 / 0.8834 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.004923, allocations: 3.938 kB / 0.8834 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.004924, allocations: 0 / 0.8834 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.005286, allocations: 199.8 kB / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.005296, allocations: 12.38 kB / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.005306, allocations: 0 / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.425e-05/0.005351, allocations: 7.984 kB / 0.8836 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.005381, allocations: 7.938 kB / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.005384, allocations: 0 / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.005419, allocations: 131.2 kB / 0.8838 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005419, allocations: 0 / 0.8838 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001377/0.005556, allocations: 12 kB / 0.8838 GB, free: 1.293 MB / 0.8386 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 9.211e-05/0.005648, allocations: 95.25 kB / 0.8839 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.9e-05/0.005717, allocations: 27.59 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.005719, allocations: 0 / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.005738, allocations: 11.69 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.005934, allocations: 11.98 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.006168, allocations: 122.3 kB / 0.884 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.006205, allocations: 55.34 kB / 0.8841 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.006225, allocations: 8 kB / 0.8841 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.006282, allocations: 74.2 kB / 0.8842 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.006282, allocations: 0 / 0.8842 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of Templates: time 0.002247/0.008529, allocations: 0.8339 MB / 0.885 GB, free: 4 kB / 0.8386 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.443797562737018]